flytekit.extend.DataPersistencePlugins#
- class flytekit.extend.DataPersistencePlugins[source]#
DataPersistencePlugins is the core plugin registry that stores all DataPersistence plugins. To add a new plugin use
DataPersistencePlugins.register_plugin("s3:/", DataPersistence(), force=True|False)
These plugins should always be registered. Follow the plugin registration guidelines to auto-discover your plugins.
- __init__()#
Methods
__init__
()find_plugin
(path)Returns a plugin for the given protocol, else raise a TypeError
get_protocol
(url)is_supported_protocol
(protocol)Returns true if the given protocol is has a registered plugin for it
print_all_plugins
()Prints all the plugins and their associated protocoles
register_plugin
(protocol, plugin[, force])Registers the supplied plugin for the specified protocol if one does not already exist.
supported_protocols
()