Skip to content

Commit 28ef1e9

Browse files
changed typing
1 parent d34e45d commit 28ef1e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

geoengine/workflow.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
'''
44

55
from __future__ import annotations
6-
from typing import Dict, List
6+
from typing import Any, Dict, List
77

88
from uuid import UUID
99
from logging import debug
@@ -95,7 +95,7 @@ def get_result_descriptor(self) -> ResultDescriptor:
9595

9696
return self.__result_descriptor
9797

98-
def workflow_definition(self) -> Dict[str, str]:
98+
def workflow_definition(self) -> Dict[str, Any]:
9999
'''Return the workflow definition for this workflow'''
100100

101101
session = get_session()
@@ -395,7 +395,7 @@ def get_provenance(self) -> List[ProvenanceOutput]:
395395
return [ProvenanceOutput.from_response(item) for item in response]
396396

397397

398-
def register_workflow(workflow: Dict[str, str]) -> Workflow:
398+
def register_workflow(workflow: Dict[str, Any]) -> Workflow:
399399
'''
400400
Register a workflow in Geo Engine and receive a `WorkflowId`
401401
'''

0 commit comments

Comments
 (0)