Skip to content

Commit f2d06e3

Browse files
sararobsasha-gitg
andauthored
chore: change enable_simple_view default to False (#1665)
* chore: change enable_simple_view default to False * chore: reorder args * Update google/cloud/aiplatform/pipeline_jobs.py Co-authored-by: sasha-gitg <[email protected]> Co-authored-by: sasha-gitg <[email protected]>
1 parent 627fdf9 commit f2d06e3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

google/cloud/aiplatform/pipeline_jobs.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ def list(
512512
cls,
513513
filter: Optional[str] = None,
514514
order_by: Optional[str] = None,
515-
enable_simple_view: Optional[bool] = False,
515+
enable_simple_view: bool = False,
516516
project: Optional[str] = None,
517517
location: Optional[str] = None,
518518
credentials: Optional[auth_credentials.Credentials] = None,
@@ -536,10 +536,10 @@ def list(
536536
Supported fields: `display_name`, `create_time`, `update_time`
537537
enable_simple_view (bool):
538538
Optional. Whether to pass the `read_mask` parameter to the list call.
539-
This will improve the performance of calling list(). However, the
540-
returned PipelineJob list will not include all fields for each PipelineJob.
541-
Setting this to True will exclude the following fields in your response:
542-
`runtime_config`, `service_account`, `network`, and some subfields of
539+
Defaults to False if not provided. This will improve the performance of calling
540+
list(). However, the returned PipelineJob list will not include all fields for
541+
each PipelineJob. Setting this to True will exclude the following fields in your
542+
response: `runtime_config`, `service_account`, `network`, and some subfields of
543543
`pipeline_spec` and `job_detail`. The following fields will be included in
544544
each PipelineJob resource in your response: `state`, `display_name`,
545545
`pipeline_spec.pipeline_info`, `create_time`, `start_time`, `end_time`,

0 commit comments

Comments
 (0)