lemur/lemur/plugins/bases/export.py

22 lines
544 B
Python
Raw Normal View History

2015-11-25 23:54:08 +01:00
"""
.. module: lemur.plugins.bases.export
2015-11-25 23:54:08 +01:00
:platform: Unix
:copyright: (c) 2018 by Netflix Inc., see AUTHORS for more
2015-11-25 23:54:08 +01:00
:license: Apache, see LICENSE for more details.
.. moduleauthor:: Kevin Glisson <kglisson@netflix.com>
"""
from lemur.plugins.base import Plugin
class ExportPlugin(Plugin):
2015-11-27 22:27:14 +01:00
"""
This is the base class from which all supported
exporters will inherit from.
"""
2015-11-25 23:54:08 +01:00
type = 'export'
requires_key = True
2015-11-25 23:54:08 +01:00
def export(self, body, chain, key, options, **kwargs):
raise NotImplementedError