Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 13, 2025
1 parent 51812fc commit d6eec21
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pyalex/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,12 @@ def _full_collection_name(self):
def __getattr__(self, key):
if key == "groupby":
raise AttributeError(
"Object has no attribute 'groupby'. " "Did you mean 'group_by'?"
"Object has no attribute 'groupby'. Did you mean 'group_by'?"
)

if key == "filter_search":
raise AttributeError(
"Object has no attribute 'filter_search'. "
"Did you mean 'search_filter'?"
"Object has no attribute 'filter_search'. Did you mean 'search_filter'?"
)

return getattr(self, key)
Expand Down

0 comments on commit d6eec21

Please sign in to comment.