jerryshao commented on code in PR #8644:
URL: https://github.com/apache/gravitino/pull/8644#discussion_r2377877181
##########
clients/client-python/gravitino/api/job/supports_jobs.py:
##########
@@ -89,6 +90,27 @@ def delete_job_template(self, job_template_name: str) ->
bool:
"""
pass
+ def alter_job_template(
+ self, job_template_name: str, *changes: JobTemplateChange
+ ) -> JobTemplate:
+ """
+ Alters a job template by applying the specified changes. This allows
for modifying the
+ properties of an existing job template, such as its name, description,
or parameters.
+
+ Args:
+ job_template_name: The name of the job template.
+ changes: The changes to apply to the job template.
+
+ Raises:
+ NoSuchJobTemplateException: If the job template does not exist.
+ IllegalArgumentException: If any of the changes cannot be applied
to the job template.
Review Comment:
No, it will not be. To align with other implementation, it will be a runtime
exception.
--
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]