2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 04:25:42 +00:00

refactor app

This commit is contained in:
Matthias
2021-10-08 22:08:09 +02:00
parent f07df107a9
commit dddd4370cf
22 changed files with 25 additions and 25 deletions

View File

@ -0,0 +1,18 @@
# -*- coding: utf-8 -*-
"""Base Class for InvenTree plugins"""
class InvenTreePlugin():
"""
Base class for a plugin
"""
# Override the plugin name for each concrete plugin instance
PLUGIN_NAME = ''
def plugin_name(self):
"""get plugin name"""
return self.PLUGIN_NAME
def __init__(self):
pass