devosend commented on a change in pull request #7818:
URL: https://github.com/apache/dolphinscheduler/pull/7818#discussion_r778714105
##########
File path:
dolphinscheduler-python/pydolphinscheduler/src/pydolphinscheduler/core/process_definition.py
##########
@@ -189,6 +190,21 @@ def end_time(self, val) -> None:
"""Set attribute end_time."""
self._end_time = val
+ @property
+ def param_json(self) -> Optional[List[Dict]]:
+ """Return param json base on self.param."""
+ if self.param is None or not self.param:
Review comment:
I think we should combineļ¼beause and `None` and `{}` are empty. maybe we
can add a comment.
--
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]