TandoorRecipes/cookbook/provider/provider.py
2019-12-25 15:54:23 +01:00

21 lines
634 B
Python

class Provider:
@staticmethod
def import_all(monitor):
raise Exception('Method not implemented in storage provider')
@staticmethod
def create_share_link(recipe):
raise Exception('Method not implemented in storage provider')
@staticmethod
def get_share_link(recipe):
raise Exception('Method not implemented in storage provider')
@staticmethod
def rename_file(recipe, new_name):
raise Exception('Method not implemented in storage provider')
@staticmethod
def delete_file(recipe, new_name):
raise Exception('Method not implemented in storage provider')