omnata-plugin-runtime 0.7.0a183__tar.gz → 0.7.0a185__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {omnata_plugin_runtime-0.7.0a183 → omnata_plugin_runtime-0.7.0a185}/PKG-INFO +1 -1
- {omnata_plugin_runtime-0.7.0a183 → omnata_plugin_runtime-0.7.0a185}/pyproject.toml +1 -1
- {omnata_plugin_runtime-0.7.0a183 → omnata_plugin_runtime-0.7.0a185}/src/omnata_plugin_runtime/plugin_entrypoints.py +4 -1
- {omnata_plugin_runtime-0.7.0a183 → omnata_plugin_runtime-0.7.0a185}/LICENSE +0 -0
- {omnata_plugin_runtime-0.7.0a183 → omnata_plugin_runtime-0.7.0a185}/README.md +0 -0
- {omnata_plugin_runtime-0.7.0a183 → omnata_plugin_runtime-0.7.0a185}/src/omnata_plugin_runtime/__init__.py +0 -0
- {omnata_plugin_runtime-0.7.0a183 → omnata_plugin_runtime-0.7.0a185}/src/omnata_plugin_runtime/api.py +0 -0
- {omnata_plugin_runtime-0.7.0a183 → omnata_plugin_runtime-0.7.0a185}/src/omnata_plugin_runtime/configuration.py +0 -0
- {omnata_plugin_runtime-0.7.0a183 → omnata_plugin_runtime-0.7.0a185}/src/omnata_plugin_runtime/forms.py +0 -0
- {omnata_plugin_runtime-0.7.0a183 → omnata_plugin_runtime-0.7.0a185}/src/omnata_plugin_runtime/logging.py +0 -0
- {omnata_plugin_runtime-0.7.0a183 → omnata_plugin_runtime-0.7.0a185}/src/omnata_plugin_runtime/omnata_plugin.py +0 -0
- {omnata_plugin_runtime-0.7.0a183 → omnata_plugin_runtime-0.7.0a185}/src/omnata_plugin_runtime/rate_limiting.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "omnata-plugin-runtime"
|
3
|
-
version = "0.7.0-
|
3
|
+
version = "0.7.0-a185"
|
4
4
|
description = "Classes and common runtime components for building and running Omnata Plugins"
|
5
5
|
authors = ["James Weakley <james.weakley@omnata.com>"]
|
6
6
|
readme = "README.md"
|
@@ -395,7 +395,10 @@ class PluginEntrypoint:
|
|
395
395
|
def connection_form(self,connectivity_option: str):
|
396
396
|
connectivity_option = TypeAdapter(ConnectivityOption).validate_python(connectivity_option)
|
397
397
|
logger.info("Entered connection_form method")
|
398
|
-
|
398
|
+
if self._plugin_instance.connection_form.__code__.co_argcount==1:
|
399
|
+
form: List[ConnectionMethod] = self._plugin_instance.connection_form()
|
400
|
+
else:
|
401
|
+
form: List[ConnectionMethod] = self._plugin_instance.connection_form(connectivity_option)
|
399
402
|
return [f.model_dump() for f in form]
|
400
403
|
|
401
404
|
def create_billing_events(self, session, event_request: Dict):
|
File without changes
|
File without changes
|
File without changes
|
{omnata_plugin_runtime-0.7.0a183 → omnata_plugin_runtime-0.7.0a185}/src/omnata_plugin_runtime/api.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|