mirror of
https://github.com/gogcom/galaxy-integrations-python-api.git
synced 2026-06-12 15:54:42 -04:00
SDK-2627: Add version param to Plugin
This commit is contained in:
@@ -23,9 +23,10 @@ class JSONEncoder(json.JSONEncoder):
|
||||
return super().default(o)
|
||||
|
||||
class Plugin():
|
||||
def __init__(self, platform, reader, writer, handshake_token):
|
||||
logging.info("Creating plugin for platform %s", platform.value)
|
||||
def __init__(self, platform, version, reader, writer, handshake_token):
|
||||
logging.info("Creating plugin for platform %s, version %s", platform.value, version)
|
||||
self._platform = platform
|
||||
self._version = version
|
||||
|
||||
self._feature_methods = OrderedDict()
|
||||
self._active = True
|
||||
|
||||
Reference in New Issue
Block a user