diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/scripts/get_process_info.py b/spiffworkflow-backend/src/spiffworkflow_backend/scripts/get_process_info.py deleted file mode 100644 index bebf51cc0..000000000 --- a/spiffworkflow-backend/src/spiffworkflow_backend/scripts/get_process_info.py +++ /dev/null @@ -1,28 +0,0 @@ -"""Get_process_info.""" -from typing import Any - -from spiffworkflow_backend.models.script_attributes_context import ( - ScriptAttributesContext, -) -from spiffworkflow_backend.scripts.script import Script - - -# DEPRECATED: please use GetToplevelProcessInfo instead -class GetProcessInfo(Script): - """GetProcessInfo.""" - - @staticmethod - def requires_privileged_permissions() -> bool: - """We have deemed this function safe to run without elevated permissions.""" - return False - - def get_description(self) -> str: - """Get_description.""" - return """Returns a dictionary of information about the currently running process.""" - - def run(self, script_attributes_context: ScriptAttributesContext, *_args: Any, **kwargs: Any) -> Any: - """Run.""" - return { - "process_instance_id": script_attributes_context.process_instance_id, - "process_model_identifier": script_attributes_context.process_model_identifier, - }