zhongjiajie commented on code in PR #11330:
URL: https://github.com/apache/dolphinscheduler/pull/11330#discussion_r939965716
##########
dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/models/queue.py:
##########
@@ -33,10 +32,3 @@ def __init__(
description: Optional[str] = "",
):
super().__init__(name, description)
-
- def create_if_not_exists(self, user=configuration.USER_NAME) -> None:
- """Create Queue if not exists."""
- gateway = launch_gateway()
- # Here we set Queue.name and Queue.queueName same as self.name
- result = gateway.entry_point.createProject(user, self.name, self.name)
- gateway_result_checker(result, None)
Review Comment:
Got it
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]