src.core.nodefetchers package¶
Subpackages¶
Submodules¶
src.core.nodefetchers.basefetcher module¶
-
class
src.core.nodefetchers.basefetcher.
BaseFetcher
(**kwargs)[source]¶ Bases:
object
Base class for all kinds of backend fetchers
This class is the base/super class for all backend fetchers. Individual backend fetchers have to inherit this class and an optionally override the methods present in this class
Parameters: **kwargs (dictionary) – Dictionary containing params
src.core.nodefetchers.orchestrator module¶
-
src.core.nodefetchers.orchestrator.
get_orchestrator_handler
(config, logger=None)[source]¶ Method for deciding which fetcher to use
Decide which fetcher to use depending on the orchestrator mentioned in the config.
Parameters: - config (dictionary) – dictionary holding ep2 config
- logger (object) – logger object
Returns: Backend fetcher
Return type: object