Abyss-lord commented on code in PR #9483:
URL: https://github.com/apache/gravitino/pull/9483#discussion_r2654492456
##########
clients/client-python/gravitino/client/gravitino_metalake.py:
##########
@@ -293,7 +299,7 @@ def list_job_templates(self) -> List[JobTemplate]:
params = {"details": "true"}
url =
self.API_METALAKES_JOB_TEMPLATES_PATH.format(encode_string(self.name()))
response = self.rest_client.get(
- url, params=params, error_handler=JOB_ERROR_HANDLER
+ url, params=params, error_handler=ErrorHandlers.job_error_handler()
Review Comment:
@jerryshao The reason for this modification is that the instances obtained
by the utility class used in the Java client. Personally, I suggest it's better
for the Python side to maintain consistency with the Java side as much as
possible.
--
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]