mirror of
https://github.com/sartography/spiffworkflow-backend.git
synced 2025-02-24 13:28:31 +00:00
monkeytype w/ burnettk
This commit is contained in:
parent
7f4dc0a380
commit
caf317c545
@ -131,7 +131,7 @@ class ProcessInstanceModelSchema(Schema):
|
||||
|
||||
status = marshmallow.fields.Method("get_status", dump_only=True)
|
||||
|
||||
def get_status(self, obj):
|
||||
def get_status(self, obj: ProcessInstanceModel) -> str:
|
||||
"""Get_status."""
|
||||
return obj.status
|
||||
|
||||
|
@ -126,7 +126,7 @@ class ProcessInstanceService:
|
||||
else:
|
||||
return {}
|
||||
|
||||
def get_process_instance(self, process_instance_id):
|
||||
def get_process_instance(self, process_instance_id: int) -> ProcessInstanceModel:
|
||||
"""Get_process_instance."""
|
||||
result = (
|
||||
db.session.query(ProcessInstanceModel)
|
||||
|
@ -576,7 +576,7 @@ def test_process_instance_create(
|
||||
|
||||
def test_process_instance_run(
|
||||
app: Flask, client: FlaskClient, with_bpmn_file_cleanup: None
|
||||
):
|
||||
) -> None:
|
||||
"""Test_process_instance_run."""
|
||||
process_group_id = "runs_without_input"
|
||||
process_model_id = "sample"
|
||||
|
Loading…
x
Reference in New Issue
Block a user