Skip to content

Commit

Permalink
fix: high level list method
Browse files Browse the repository at this point in the history
  • Loading branch information
jaycee-li committed Aug 15, 2022
1 parent 3d3e0aa commit 17c9bdd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions google/cloud/aiplatform/base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright 2020 Google LLC
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -1064,9 +1064,11 @@ def _list(
or initializer.global_config.common_location_path(
project=project, location=location
),
"filter": filter,
}

if filter:
list_request["filter"] = filter

if order_by:
list_request["order_by"] = order_by

Expand Down

0 comments on commit 17c9bdd

Please sign in to comment.