You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "DaHanII (via GitHub)" <gi...@apache.org> on 2023/08/30 04:05:07 UTC

[GitHub] [dolphinscheduler-sdk-python] DaHanII opened a new issue, #106: Cannot find place to set task group id for tasks

DaHanII opened a new issue, #106:
URL: https://github.com/apache/dolphinscheduler-sdk-python/issues/106

   I want to set task_group_id for each task in a single project for limiting concurrent executing task instances. But I cannot find any place  to set this task_group_id even I find it in the database. So Any idea on how to set it
   ![image](https://github.com/apache/dolphinscheduler-sdk-python/assets/5406218/d0845b74-6ace-4357-ae56-43c317f98ae3)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler-sdk-python] DaHanII commented on issue #106: Cannot find place to set task group id for tasks

Posted by "DaHanII (via GitHub)" <gi...@apache.org>.
DaHanII commented on issue #106:
URL: https://github.com/apache/dolphinscheduler-sdk-python/issues/106#issuecomment-1725073645

   Hey, I find a place to set task group id when I get my workflow api response. It's task_definition_json in Workflow class, but the source code have not provided this variable setting yet. So I have to override Workflow class and task_definition_json method, where task_group_id is an optional parameter and give each task taskGroupId and its value in its dict. I hope this may help and I am looking forward to see this issue would be solved in the future.
   ![image](https://github.com/apache/dolphinscheduler-sdk-python/assets/5406218/283536a4-f983-44de-b326-4e57fdaec44f)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Cannot find place to set task group id for tasks [dolphinscheduler-sdk-python]

Posted by "zhongjiajie (via GitHub)" <gi...@apache.org>.
zhongjiajie commented on issue #106:
URL: https://github.com/apache/dolphinscheduler-sdk-python/issues/106#issuecomment-1759304561

   > Hey, I find a place to set task group id when I get my workflow api response. It's task_definition_json in Workflow class, but the source code have not provided this variable setting yet. So I have to override Workflow class and task_definition_json method, where task_group_id is an optional parameter and give each task taskGroupId and its value in its dict. I hope this may help and I am looking forward to see this issue would be solved in the future.
   > ![image](https://user-images.githubusercontent.com/5406218/268894273-283536a4-f983-44de-b326-4e57fdaec44f.png)
   
   we will add it in version 4.0.4


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Cannot find place to set task group id for tasks [dolphinscheduler-sdk-python]

Posted by "zhongjiajie (via GitHub)" <gi...@apache.org>.
zhongjiajie closed issue #106: Cannot find place to set task group id for tasks
URL: https://github.com/apache/dolphinscheduler-sdk-python/issues/106


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler-sdk-python] zhongjiajie commented on issue #106: Cannot find place to set task group id for tasks

Posted by "zhongjiajie (via GitHub)" <gi...@apache.org>.
zhongjiajie commented on issue #106:
URL: https://github.com/apache/dolphinscheduler-sdk-python/issues/106#issuecomment-1711154832

   it seems we do not have task group for pydolphinscheduler yet


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org