Jina Python API Referenceยถ

jina.import_classes(namespace, targets=None, show_import_table=False, import_once=False)[source]ยถ

Import all or selected executors into the runtime. This is called when Jina is first imported for registering the YAML constructor beforehand. It can be also used to import third-part or external executors.

Parameters
  • namespace (str) โ€“ the namespace to import

  • targets โ€“ the list of executor names to import

  • show_import_table (bool) โ€“ show the import result as a table

  • import_once (bool) โ€“ import everything only once, to avoid repeated import

jina.raise_nofile(nofile_atleast=4096)[source]ยถ

sets nofile soft limit to at least 4096, useful for running matlplotlib/seaborn on parallel executing plot generators vs. Ubuntu default ulimit -n 1024 or OS X El Captian 256 temporary setting extinguishing with Python session.