@@ -1409,6 +1409,7 @@ async def start_workflow(
14091409 send_raw_bytes : bool = False ,
14101410 ) -> StartWorkflowResponse :
14111411 """Starts a workflow.
1412+ Deprecated: use dapr-ext-workflow instead
14121413
14131414 Args:
14141415 workflow_component (str): the name of the workflow component
@@ -1430,7 +1431,7 @@ async def start_workflow(
14301431 """
14311432 # Warnings and input validation
14321433 warn (
1433- 'The Workflow API is a Beta version and is subject to change .' ,
1434+ 'This Workflow API (Beta) method is deprecated and will be removed in a future version. Use the dapr-ext-workflow package instead .' ,
14341435 UserWarning ,
14351436 stacklevel = 2 ,
14361437 )
@@ -1470,6 +1471,7 @@ async def start_workflow(
14701471
14711472 async def get_workflow (self , instance_id : str , workflow_component : str ) -> GetWorkflowResponse :
14721473 """Gets information on a workflow.
1474+ Deprecated: use dapr-ext-workflow instead
14731475
14741476 Args:
14751477 instance_id (str): the ID of the workflow instance,
@@ -1482,7 +1484,7 @@ async def get_workflow(self, instance_id: str, workflow_component: str) -> GetWo
14821484 """
14831485 # Warnings and input validation
14841486 warn (
1485- 'The Workflow API is a Beta version and is subject to change .' ,
1487+ 'This Workflow API (Beta) method is deprecated and will be removed in a future version. Use the dapr-ext-workflow package instead .' ,
14861488 UserWarning ,
14871489 stacklevel = 2 ,
14881490 )
@@ -1511,6 +1513,7 @@ async def get_workflow(self, instance_id: str, workflow_component: str) -> GetWo
15111513
15121514 async def terminate_workflow (self , instance_id : str , workflow_component : str ) -> DaprResponse :
15131515 """Terminates a workflow.
1516+ Deprecated: use dapr-ext-workflow instead
15141517
15151518 Args:
15161519 instance_id (str): the ID of the workflow instance, e.g.
@@ -1523,7 +1526,7 @@ async def terminate_workflow(self, instance_id: str, workflow_component: str) ->
15231526 """
15241527 # Warnings and input validation
15251528 warn (
1526- 'The Workflow API is a Beta version and is subject to change .' ,
1529+ 'This Workflow API (Beta) method is deprecated and will be removed in a future version. Use the dapr-ext-workflow package instead .' ,
15271530 UserWarning ,
15281531 stacklevel = 2 ,
15291532 )
@@ -1548,6 +1551,7 @@ async def raise_workflow_event(
15481551 send_raw_bytes : bool = False ,
15491552 ) -> DaprResponse :
15501553 """Raises an event on a workflow.
1554+ Deprecated: use dapr-ext-workflow instead
15511555
15521556 Args:
15531557 instance_id (str): the ID of the workflow instance,
@@ -1568,7 +1572,7 @@ async def raise_workflow_event(
15681572 """
15691573 # Warnings and input validation
15701574 warn (
1571- 'The Workflow API is a Beta version and is subject to change .' ,
1575+ 'This Workflow API (Beta) method is deprecated and will be removed in a future version. Use the dapr-ext-workflow package instead .' ,
15721576 UserWarning ,
15731577 stacklevel = 2 ,
15741578 )
@@ -1611,6 +1615,7 @@ async def raise_workflow_event(
16111615
16121616 async def pause_workflow (self , instance_id : str , workflow_component : str ) -> DaprResponse :
16131617 """Pause a workflow.
1618+ Deprecated: use dapr-ext-workflow instead
16141619
16151620 Args:
16161621 instance_id (str): the ID of the workflow instance,
@@ -1624,7 +1629,7 @@ async def pause_workflow(self, instance_id: str, workflow_component: str) -> Dap
16241629 """
16251630 # Warnings and input validation
16261631 warn (
1627- 'The Workflow API is a Beta version and is subject to change .' ,
1632+ 'This Workflow API (Beta) method is deprecated and will be removed in a future version. Use the dapr-ext-workflow package instead .' ,
16281633 UserWarning ,
16291634 stacklevel = 2 ,
16301635 )
@@ -1643,6 +1648,7 @@ async def pause_workflow(self, instance_id: str, workflow_component: str) -> Dap
16431648
16441649 async def resume_workflow (self , instance_id : str , workflow_component : str ) -> DaprResponse :
16451650 """Resumes a workflow.
1651+ Deprecated: use dapr-ext-workflow instead
16461652
16471653 Args:
16481654 instance_id (str): the ID of the workflow instance,
@@ -1655,7 +1661,7 @@ async def resume_workflow(self, instance_id: str, workflow_component: str) -> Da
16551661 """
16561662 # Warnings and input validation
16571663 warn (
1658- 'The Workflow API is a Beta version and is subject to change .' ,
1664+ 'This Workflow API (Beta) method is deprecated and will be removed in a future version. Use the dapr-ext-workflow package instead .' ,
16591665 UserWarning ,
16601666 stacklevel = 2 ,
16611667 )
@@ -1674,6 +1680,7 @@ async def resume_workflow(self, instance_id: str, workflow_component: str) -> Da
16741680
16751681 async def purge_workflow (self , instance_id : str , workflow_component : str ) -> DaprResponse :
16761682 """Purges a workflow.
1683+ Deprecated: use dapr-ext-workflow instead
16771684
16781685 Args:
16791686 instance_id (str): the ID of the workflow instance,
@@ -1686,7 +1693,7 @@ async def purge_workflow(self, instance_id: str, workflow_component: str) -> Dap
16861693 """
16871694 # Warnings and input validation
16881695 warn (
1689- 'The Workflow API is a Beta version and is subject to change .' ,
1696+ 'This Workflow API (Beta) method is deprecated and will be removed in a future version. Use the dapr-ext-workflow package instead .' ,
16901697 UserWarning ,
16911698 stacklevel = 2 ,
16921699 )
0 commit comments