Skip to content

Commit

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

# Copyright 2022 Google LLC
# Copyright 2020 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,11 +1064,9 @@ 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 b4308fd

Please sign in to comment.