ftrack_api.plugin

ftrack_api.plugin.load_source(modname, filename)[source]
ftrack_api.plugin.discover(paths, positional_arguments=None, keyword_arguments=None)[source]

Find and load plugins in search paths.

Each discovered module should implement a register function that accepts positional_arguments and keyword_arguments as *args and **kwargs respectively.

If a register function does not accept variable arguments, then attempt to only pass accepted arguments to the function by inspecting its signature.