dapr-ext-workflow-dev 1.17.0.dev80__tar.gz → 1.17.0.dev82__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dapr_ext_workflow_dev-1.17.0.dev80/dapr_ext_workflow_dev.egg-info → dapr_ext_workflow_dev-1.17.0.dev82}/PKG-INFO +1 -1
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr/ext/workflow/dapr_workflow_context.py +3 -3
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr/ext/workflow/workflow_context.py +2 -2
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82/dapr_ext_workflow_dev.egg-info}/PKG-INFO +1 -1
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/LICENSE +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/README.rst +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr/ext/workflow/__init__.py +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr/ext/workflow/aio/__init__.py +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr/ext/workflow/aio/dapr_workflow_client.py +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr/ext/workflow/dapr_workflow_client.py +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr/ext/workflow/logger/__init__.py +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr/ext/workflow/logger/logger.py +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr/ext/workflow/logger/options.py +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr/ext/workflow/py.typed +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr/ext/workflow/retry_policy.py +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr/ext/workflow/util.py +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr/ext/workflow/version.py +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr/ext/workflow/workflow_activity_context.py +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr/ext/workflow/workflow_runtime.py +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr/ext/workflow/workflow_state.py +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr_ext_workflow_dev.egg-info/SOURCES.txt +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr_ext_workflow_dev.egg-info/dependency_links.txt +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr_ext_workflow_dev.egg-info/requires.txt +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr_ext_workflow_dev.egg-info/top_level.txt +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/setup.cfg +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/setup.py +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/tests/test_dapr_workflow_context.py +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/tests/test_workflow_activity_context.py +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/tests/test_workflow_client.py +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/tests/test_workflow_client_aio.py +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/tests/test_workflow_runtime.py +0 -0
- {dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/tests/test_workflow_util.py +0 -0
|
@@ -68,12 +68,12 @@ class DaprWorkflowContext(WorkflowContext):
|
|
|
68
68
|
retry_policy: Optional[RetryPolicy] = None,
|
|
69
69
|
app_id: Optional[str] = None,
|
|
70
70
|
) -> task.Task[TOutput]:
|
|
71
|
-
# Handle string activity names for
|
|
71
|
+
# Handle string activity names for multi-app workflow scenarios
|
|
72
72
|
if isinstance(activity, str):
|
|
73
73
|
activity_name = activity
|
|
74
74
|
if app_id is not None:
|
|
75
75
|
self._logger.debug(
|
|
76
|
-
f'{self.instance_id}: Creating
|
|
76
|
+
f'{self.instance_id}: Creating multi-app workflow activity {activity_name} for app {app_id}'
|
|
77
77
|
)
|
|
78
78
|
else:
|
|
79
79
|
self._logger.debug(f'{self.instance_id}: Creating activity {activity_name}')
|
|
@@ -106,7 +106,7 @@ class DaprWorkflowContext(WorkflowContext):
|
|
|
106
106
|
retry_policy: Optional[RetryPolicy] = None,
|
|
107
107
|
app_id: Optional[str] = None,
|
|
108
108
|
) -> task.Task[TOutput]:
|
|
109
|
-
# Handle string workflow names for
|
|
109
|
+
# Handle string workflow names for multi-app workflow scenarios
|
|
110
110
|
if isinstance(workflow, str):
|
|
111
111
|
workflow_name = workflow
|
|
112
112
|
self._logger.debug(f'{self.instance_id}: Creating child workflow {workflow_name}')
|
|
@@ -118,7 +118,7 @@ class WorkflowContext(ABC):
|
|
|
118
118
|
Parameters
|
|
119
119
|
----------
|
|
120
120
|
activity: Activity[TInput, TOutput] | str
|
|
121
|
-
A reference to the activity function to call, or a string name for
|
|
121
|
+
A reference to the activity function to call, or a string name for multi-app workflow activities.
|
|
122
122
|
input: TInput | None
|
|
123
123
|
The JSON-serializable input (or None) to pass to the activity.
|
|
124
124
|
app_id: str | None
|
|
@@ -145,7 +145,7 @@ class WorkflowContext(ABC):
|
|
|
145
145
|
Parameters
|
|
146
146
|
----------
|
|
147
147
|
orchestrator: Orchestrator[TInput, TOutput] | str
|
|
148
|
-
A reference to the orchestrator function to call, or a string name for
|
|
148
|
+
A reference to the orchestrator function to call, or a string name for multi-app workflows.
|
|
149
149
|
input: TInput
|
|
150
150
|
The optional JSON-serializable input to pass to the orchestrator function.
|
|
151
151
|
instance_id: str
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr/ext/workflow/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
{dapr_ext_workflow_dev-1.17.0.dev80 → dapr_ext_workflow_dev-1.17.0.dev82}/dapr/ext/workflow/util.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|