ftrack_connect_pipeline.plugin.base¶
ftrack_connect_pipeline.plugin.base.action¶
- class ftrack_connect_pipeline.plugin.base.action.BaseActionPluginValidation(plugin_name, required_output, return_type, return_value)[source]¶
Bases:
BasePluginValidationAction Plugin Validation class inherits from
BasePluginValidation- __init__(plugin_name, required_output, return_type, return_value)[source]¶
Initialise PluginValidation with plugin_name, required_output, return_type, return_value.
plugin_name : current plugin name.
required_output : required exporters of the current plugin.
return_type : required return type of the current plugin.
return_value : Expected return value of the current plugin.
- class ftrack_connect_pipeline.plugin.base.action.BaseActionPlugin(session)[source]¶
Bases:
BasePluginBase Action Plugin Class inherits from
BasePlugin- plugin_type = 'action'¶
Type of the plugin
- __init__(session)[source]¶
Initialise BasePlugin with instance of
ftrack_api.session.Session
- run(context_data=None, data=None, options=None)[source]¶
Runs the current plugin with , context_data , data and options.
context_data provides a mapping with the asset_name, context_id, asset_type_name, comment and status_id of the asset that we are working on.
data a list of data coming from previous collector or empty list
options a dictionary of options passed from outside.
Note
Use always self.exporters as a base to return the values, don’t override self.exporters as it contains the _required_output
ftrack_connect_pipeline.plugin.base.collector¶
- class ftrack_connect_pipeline.plugin.base.collector.BaseCollectorPluginValidation(plugin_name, required_output, return_type, return_value)[source]¶
Bases:
BasePluginValidationCollector Plugin Validation class inherits from
BasePluginValidation- __init__(plugin_name, required_output, return_type, return_value)[source]¶
Initialise PluginValidation with plugin_name, required_output, return_type, return_value.
plugin_name : current plugin name.
required_output : required exporters of the current plugin.
return_type : required return type of the current plugin.
return_value : Expected return value of the current plugin.
- class ftrack_connect_pipeline.plugin.base.collector.BaseCollectorPlugin(session)[source]¶
Bases:
BasePluginBase Collector Plugin Class inherits from
BasePlugin- plugin_type = 'collector'¶
Type of the plugin
- __init__(session)[source]¶
Initialise BasePlugin with instance of
ftrack_api.session.Session
- run(context_data=None, data=None, options=None)[source]¶
Runs the current plugin with , context_data , data and options.
context_data provides a mapping with the asset_name, context_id, asset_type_name, comment and status_id of the asset that we are working on.
data a list of data coming from previous collector or empty list
options a dictionary of options passed from outside.
Note
Use always self.exporters as a base to return the values, don’t override self.exporters as it contains the _required_output
ftrack_connect_pipeline.plugin.base.context¶
- class ftrack_connect_pipeline.plugin.base.context.BaseContextPluginValidation(plugin_name, required_output, return_type, return_value)[source]¶
Bases:
BasePluginValidationContext Plugin Validation class inherits from
BasePluginValidation- __init__(plugin_name, required_output, return_type, return_value)[source]¶
Initialise PluginValidation with plugin_name, required_output, return_type, return_value.
plugin_name : current plugin name.
required_output : required exporters of the current plugin.
return_type : required return type of the current plugin.
return_value : Expected return value of the current plugin.
- class ftrack_connect_pipeline.plugin.base.context.BaseContextPlugin(session)[source]¶
Bases:
BasePluginBase Context Plugin Class inherits from
BasePlugin- plugin_type = 'context'¶
Type of the plugin
- __init__(session)[source]¶
Initialise BasePlugin with instance of
ftrack_api.session.Session
- run(context_data=None, data=None, options=None)[source]¶
Runs the current plugin with , context_data , data and options.
context_data provides a mapping with the asset_name, context_id, asset_type_name, comment and status_id of the asset that we are working on.
data a list of data coming from previous collector or empty list
options a dictionary of options passed from outside.
Note
Use always self.exporters as a base to return the values, don’t override self.exporters as it contains the _required_output
ftrack_connect_pipeline.plugin.base.discover¶
- class ftrack_connect_pipeline.plugin.base.discover.BaseDiscoverPluginValidation(plugin_name, required_output, return_type, return_value)[source]¶
Bases:
BasePluginValidationDiscover Plugin Validation class inherits from
BasePluginValidation- __init__(plugin_name, required_output, return_type, return_value)[source]¶
Initialise PluginValidation with plugin_name, required_output, return_type, return_value.
plugin_name : current plugin name.
required_output : required exporters of the current plugin.
return_type : required return type of the current plugin.
return_value : Expected return value of the current plugin.
- class ftrack_connect_pipeline.plugin.base.discover.BaseDiscoverPlugin(session)[source]¶
Bases:
BasePluginBase Discover Plugin Class inherits from
BasePlugin- plugin_type = 'discover'¶
Type of the plugin
- __init__(session)[source]¶
Initialise BasePlugin with instance of
ftrack_api.session.Session
- run(context_data=None, data=None, options=None)[source]¶
Runs the current plugin with , context_data , data and options.
context_data provides a mapping with the asset_name, context_id, asset_type_name, comment and status_id of the asset that we are working on.
data a list of data coming from previous collector or empty list
options a dictionary of options passed from outside.
Note
Use always self.exporters as a base to return the values, don’t override self.exporters as it contains the _required_output
ftrack_connect_pipeline.plugin.base.finalizer¶
- class ftrack_connect_pipeline.plugin.base.finalizer.BaseFinalizerPluginValidation(plugin_name, required_output, return_type, return_value)[source]¶
Bases:
BasePluginValidationFinalizer Plugin Validation class inherits from
BasePluginValidation- __init__(plugin_name, required_output, return_type, return_value)[source]¶
Initialise PluginValidation with plugin_name, required_output, return_type, return_value.
plugin_name : current plugin name.
required_output : required exporters of the current plugin.
return_type : required return type of the current plugin.
return_value : Expected return value of the current plugin.
- class ftrack_connect_pipeline.plugin.base.finalizer.BaseFinalizerPlugin(session)[source]¶
Bases:
BasePluginBase Finalizer Plugin Class inherits from
BasePlugin- plugin_type = 'finalizer'¶
Type of the plugin
- __init__(session)[source]¶
Initialise BasePlugin with instance of
ftrack_api.session.Session
- run(context_data=None, data=None, options=None)[source]¶
Runs the current plugin with , context_data , data and options.
context_data provides a mapping with the asset_name, context_id, asset_type_name, comment and status_id of the asset that we are working on.
data a list of data coming from previous collector or empty list
options a dictionary of options passed from outside.
Note
Use always self.exporters as a base to return the values, don’t override self.exporters as it contains the _required_output
ftrack_connect_pipeline.plugin.base.importer¶
- class ftrack_connect_pipeline.plugin.base.importer.BaseImporterPluginValidation(plugin_name, required_output, return_type, return_value)[source]¶
Bases:
BasePluginValidationImporter Plugin Validation class inherits from
BasePluginValidation- __init__(plugin_name, required_output, return_type, return_value)[source]¶
Initialise PluginValidation with plugin_name, required_output, return_type, return_value.
plugin_name : current plugin name.
required_output : required exporters of the current plugin.
return_type : required return type of the current plugin.
return_value : Expected return value of the current plugin.
- class ftrack_connect_pipeline.plugin.base.importer.BaseImporterPlugin(session)[source]¶
Bases:
BasePluginBase Importer Plugin Class inherits from
BasePlugin- plugin_type = 'importer'¶
Type of the plugin
- __init__(session)[source]¶
Initialise BasePlugin with instance of
ftrack_api.session.Session
- run(context_data=None, data=None, options=None)[source]¶
Runs the current plugin with , context_data , data and options.
context_data provides a mapping with the asset_name, context_id, asset_type_name, comment and status_id of the asset that we are working on.
data a list of data coming from previous collector or empty list
options a dictionary of options passed from outside.
Note
Use always self.exporters as a base to return the values, don’t override self.exporters as it contains the _required_output
ftrack_connect_pipeline.plugin.base.exporter¶
- class ftrack_connect_pipeline.plugin.base.exporter.BaseExporterPluginValidation(plugin_name, required_output, return_type, return_value)[source]¶
Bases:
BasePluginValidationOutput Plugin Validation class inherits from
BasePluginValidation- __init__(plugin_name, required_output, return_type, return_value)[source]¶
Initialise PluginValidation with plugin_name, required_output, return_type, return_value.
plugin_name : current plugin name.
required_output : required exporters of the current plugin.
return_type : required return type of the current plugin.
return_value : Expected return value of the current plugin.
- class ftrack_connect_pipeline.plugin.base.exporter.BaseExporterPlugin(session)[source]¶
Bases:
BasePluginBase Output Plugin Class inherits from
BasePlugin- plugin_type = 'exporter'¶
Type of the plugin
- __init__(session)[source]¶
Initialise BasePlugin with instance of
ftrack_api.session.Session
- run(context_data=None, data=None, options=None)[source]¶
Runs the current plugin with , context_data , data and options.
context_data provides a mapping with the asset_name, context_id, asset_type_name, comment and status_id of the asset that we are working on.
data a list of data coming from previous collector or empty list
options a dictionary of options passed from outside.
Note
Use always self.exporters as a base to return the values, don’t override self.exporters as it contains the _required_output
ftrack_connect_pipeline.plugin.base.post_import¶
- class ftrack_connect_pipeline.plugin.base.post_importer.BasePostImporterPluginValidation(plugin_name, required_output, return_type, return_value)[source]¶
Bases:
BasePluginValidationPost Import Plugin Validation class inherits from
BasePluginValidation- __init__(plugin_name, required_output, return_type, return_value)[source]¶
Initialise PluginValidation with plugin_name, required_output, return_type, return_value.
plugin_name : current plugin name.
required_output : required exporters of the current plugin.
return_type : required return type of the current plugin.
return_value : Expected return value of the current plugin.
- class ftrack_connect_pipeline.plugin.base.post_importer.BasePostImporterPlugin(session)[source]¶
Bases:
BasePluginBase Post Import Plugin Class inherits from
BasePlugin- plugin_type = 'post_importer'¶
Type of the plugin
- __init__(session)[source]¶
Initialise BasePlugin with instance of
ftrack_api.session.Session
- run(context_data=None, data=None, options=None)[source]¶
Runs the current plugin with , context_data , data and options.
context_data provides a mapping with the asset_name, context_id, asset_type_name, comment and status_id of the asset that we are working on.
data a list of data coming from previous collector or empty list
options a dictionary of options passed from outside.
Note
Use always self.exporters as a base to return the values, don’t override self.exporters as it contains the _required_output
ftrack_connect_pipeline.plugin.base.validator¶
- class ftrack_connect_pipeline.plugin.base.validator.BaseValidatorPluginValidation(plugin_name, required_output, return_type, return_value)[source]¶
Bases:
BasePluginValidationValidator Plugin Validation class inherits from
BasePluginValidation- __init__(plugin_name, required_output, return_type, return_value)[source]¶
Initialise PluginValidation with plugin_name, required_output, return_type, return_value.
plugin_name : current plugin name.
required_output : required exporters of the current plugin.
return_type : required return type of the current plugin.
return_value : Expected return value of the current plugin.
- class ftrack_connect_pipeline.plugin.base.validator.BaseValidatorPlugin(session)[source]¶
Bases:
BasePluginBase Validator Plugin Class inherits from
BasePlugin- plugin_type = 'validator'¶
Type of the plugin
- return_value = True¶
Required return Value
- __init__(session)[source]¶
Initialise BasePlugin with instance of
ftrack_api.session.Session
- run(context_data=None, data=None, options=None)[source]¶
Runs the current plugin with , context_data , data and options.
context_data provides a mapping with the asset_name, context_id, asset_type_name, comment and status_id of the asset that we are working on.
data a list of data coming from previous collector or empty list
options a dictionary of options passed from outside.
Note
Use always self.exporters as a base to return the values, don’t override self.exporters as it contains the _required_output