ramp_database.tools.event.get_workflow¶
-
ramp_database.tools.event.get_workflow(session, workflow_name)¶ Get workflow from the database.
- Parameters
- session
sqlalchemy.orm.Session The session to directly perform the operation on the database.
- workflow_namestr or None
The name of the workflow to query. If None, all the workflows will be queried.
- session
- Returns
- workflow
ramp_database.model.Workflowor list oframp_database.model.Workflow The queried workflow.
- workflow