Skip to content

Commit

Permalink
anything that is a class is a command to work with older connectors w…
Browse files Browse the repository at this point in the history
…/ burnettk
  • Loading branch information
jasquat committed Oct 18, 2023
1 parent 1dc289c commit 25afae5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/spiffworkflow_proxy/plugin_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,7 @@ def describe_target(plugin_name: str, target_name: str, target: type) -> dict:

@staticmethod
def is_connector_command(module: Any) -> bool:
return inspect.isclass(module) and issubclass(module, ConnectorCommand)
# TODO: once all known connectors are updated to use spiffworkflow-connector-command
# we should use this line to determine if something is a value command or not
# return inspect.isclass(module) and issubclass(module, ConnectorCommand)
return inspect.isclass(module)

0 comments on commit 25afae5

Please sign in to comment.