@@ -106,7 +106,9 @@ def list_task_ids_paginated(self, project, domain, limit=100, token=None, sort_b
106106 If you previously retrieved a page response with token="foo" and you want the next page,
107107 specify token="foo". Please see the notes for this function about the caveats of the paginated API.
108108 :param flytekit.models.admin.common.Sort sort_by: [Optional] If provided, the results will be sorted.
109- :raises: TODO
109+ :raises flytekit.exceptions.user.FlyteAuthenticationException: If the request is not authenticated.
110+ :raises flytekit.exceptions.user.FlyteInvalidInputException: If the request contains invalid parameters.
111+ :raises flytekit.exceptions.system.FlyteSystemException: If an unexpected error occurs.
110112 :rtype: list[flytekit.models.common.NamedEntityIdentifier], Text
111113 """
112114 identifier_list = super (SynchronousFlyteClient , self ).list_task_ids_paginated (
@@ -146,7 +148,9 @@ def list_tasks_paginated(self, identifier, limit=100, token=None, filters=None,
146148 :param list[flytekit.models.filters.Filter] filters: [Optional] If specified, the filters will be applied to
147149 the query. If the filter is not supported, an exception will be raised.
148150 :param flytekit.models.admin.common.Sort sort_by: [Optional] If provided, the results will be sorted.
149- :raises: TODO
151+ :raises flytekit.exceptions.user.FlyteAuthenticationException: If the request is not authenticated.
152+ :raises flytekit.exceptions.user.FlyteInvalidInputException: If the request contains invalid parameters.
153+ :raises flytekit.exceptions.system.FlyteSystemException: If an unexpected error occurs.
150154 :rtype: list[flytekit.models.task.Task], Text
151155 """
152156 task_list = super (SynchronousFlyteClient , self ).list_tasks_paginated (
@@ -172,7 +176,10 @@ def get_task(self, id):
172176 This returns a single task for a given identifier.
173177
174178 :param flytekit.models.core.identifier.Identifier id: The ID representing a given task.
175- :raises: TODO
179+ :raises flytekit.exceptions.user.FlyteEntityNotExistException: If the task does not exist.
180+ :raises flytekit.exceptions.user.FlyteAuthenticationException: If the request is not authenticated.
181+ :raises flytekit.exceptions.user.FlyteInvalidInputException: If the request contains invalid parameters.
182+ :raises flytekit.exceptions.system.FlyteSystemException: If an unexpected error occurs.
176183 :rtype: flytekit.models.task.Task
177184 """
178185 return _task .Task .from_flyte_idl (
@@ -231,7 +238,9 @@ def list_workflow_ids_paginated(self, project, domain, limit=100, token=None, so
231238 If you previously retrieved a page response with token="foo" and you want the next page,
232239 specify token="foo". Please see the notes for this function about the caveats of the paginated API.
233240 :param flytekit.models.admin.common.Sort sort_by: [Optional] If provided, the results will be sorted.
234- :raises: TODO
241+ :raises flytekit.exceptions.user.FlyteAuthenticationException: If the request is not authenticated.
242+ :raises flytekit.exceptions.user.FlyteInvalidInputException: If the request contains invalid parameters.
243+ :raises flytekit.exceptions.system.FlyteSystemException: If an unexpected error occurs.
235244 :rtype: list[flytekit.models.common.NamedEntityIdentifier], Text
236245 """
237246 identifier_list = super (SynchronousFlyteClient , self ).list_workflow_ids_paginated (
@@ -271,7 +280,9 @@ def list_workflows_paginated(self, identifier, limit=100, token=None, filters=No
271280 :param list[flytekit.models.filters.Filter] filters: [Optional] If specified, the filters will be applied to
272281 the query. If the filter is not supported, an exception will be raised.
273282 :param flytekit.models.admin.common.Sort sort_by: [Optional] If provided, the results will be sorted.
274- :raises: TODO
283+ :raises flytekit.exceptions.user.FlyteAuthenticationException: If the request is not authenticated.
284+ :raises flytekit.exceptions.user.FlyteInvalidInputException: If the request contains invalid parameters.
285+ :raises flytekit.exceptions.system.FlyteSystemException: If an unexpected error occurs.
275286 :rtype: list[flytekit.models.admin.workflow.Workflow], Text
276287 """
277288 wf_list = super (SynchronousFlyteClient , self ).list_workflows_paginated (
@@ -297,7 +308,10 @@ def get_workflow(self, id):
297308 This returns a single workflow for a given ID.
298309
299310 :param flytekit.models.core.identifier.Identifier id: The ID representing a given task.
300- :raises: TODO
311+ :raises flytekit.exceptions.user.FlyteEntityNotExistException: If the workflow does not exist.
312+ :raises flytekit.exceptions.user.FlyteAuthenticationException: If the request is not authenticated.
313+ :raises flytekit.exceptions.user.FlyteInvalidInputException: If the request contains invalid parameters.
314+ :raises flytekit.exceptions.system.FlyteSystemException: If an unexpected error occurs.
301315 :rtype: flytekit.models.admin.workflow.Workflow
302316 """
303317 return _workflow .Workflow .from_flyte_idl (
@@ -383,7 +397,9 @@ def list_launch_plan_ids_paginated(self, project, domain, limit=100, token=None,
383397 If you previously retrieved a page response with token="foo" and you want the next page,
384398 specify token="foo". Please see the notes for this function about the caveats of the paginated API.
385399 :param flytekit.models.admin.common.Sort sort_by: [Optional] If provided, the results will be sorted.
386- :raises: TODO
400+ :raises flytekit.exceptions.user.FlyteAuthenticationException: If the request is not authenticated.
401+ :raises flytekit.exceptions.user.FlyteInvalidInputException: If the request contains invalid parameters.
402+ :raises flytekit.exceptions.system.FlyteSystemException: If an unexpected error occurs.
387403 :rtype: list[flytekit.models.common.NamedEntityIdentifier], Text
388404 """
389405 identifier_list = super (SynchronousFlyteClient , self ).list_launch_plan_ids_paginated (
@@ -423,7 +439,9 @@ def list_launch_plans_paginated(self, identifier, limit=100, token=None, filters
423439 :param list[flytekit.models.filters.Filter] filters: [Optional] If specified, the filters will be applied to
424440 the query. If the filter is not supported, an exception will be raised.
425441 :param flytekit.models.admin.common.Sort sort_by: [Optional] If provided, the results will be sorted.
426- :raises: TODO
442+ :raises flytekit.exceptions.user.FlyteAuthenticationException: If the request is not authenticated.
443+ :raises flytekit.exceptions.user.FlyteInvalidInputException: If the request contains invalid parameters.
444+ :raises flytekit.exceptions.system.FlyteSystemException: If an unexpected error occurs.
427445 :rtype: list[flytekit.models.launch_plan.LaunchPlan], str
428446 """
429447 lp_list = super (SynchronousFlyteClient , self ).list_launch_plans_paginated (
@@ -467,7 +485,9 @@ def list_active_launch_plans_paginated(
467485 If you previously retrieved a page response with token="foo" and you want the next page,
468486 specify token="foo". Please see the notes for this function about the caveats of the paginated API.
469487 :param flytekit.models.admin.common.Sort sort_by: [Optional] If provided, the results will be sorted.
470- :raises: TODO
488+ :raises flytekit.exceptions.user.FlyteAuthenticationException: If the request is not authenticated.
489+ :raises flytekit.exceptions.user.FlyteInvalidInputException: If the request contains invalid parameters.
490+ :raises flytekit.exceptions.system.FlyteSystemException: If an unexpected error occurs.
471491 :rtype: list[flytekit.models.launch_plan.LaunchPlan], str
472492 """
473493 lp_list = super (SynchronousFlyteClient , self ).list_active_launch_plans_paginated (
@@ -615,7 +635,9 @@ def list_executions_paginated(self, project, domain, limit=100, token=None, filt
615635 :param list[flytekit.models.filters.Filter] filters: [Optional] If specified, the filters will be applied to
616636 the query. If the filter is not supported, an exception will be raised.
617637 :param flytekit.models.admin.common.Sort sort_by: [Optional] If provided, the results will be sorted.
618- :raises: TODO
638+ :raises flytekit.exceptions.user.FlyteAuthenticationException: If the request is not authenticated.
639+ :raises flytekit.exceptions.user.FlyteInvalidInputException: If the request contains invalid parameters.
640+ :raises flytekit.exceptions.system.FlyteSystemException: If an unexpected error occurs.
619641 :rtype: (list[flytekit.models.execution.Execution], Text)
620642 """
621643 exec_list = super (SynchronousFlyteClient , self ).list_executions_paginated (
0 commit comments