Skip to content

Commit

Permalink
Add NotImplementedError to ignored exc (#1325)
Browse files Browse the repository at this point in the history
  • Loading branch information
uriyyo authored Oct 8, 2024
1 parent 5a1f60a commit 8a5ccfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fastapi_pagination/ext/sqlalchemy.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def _should_unwrap_scalars(query: Selectable) -> bool:
expr, entity = [desc.get(key) for key in ("expr", "entity")]

return expr is not None and expr is entity
except AttributeError:
except (AttributeError, NotImplementedError):
return True

return False
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "fastapi-pagination"
version = "0.12.30"
version = "0.12.31"
description = "FastAPI pagination"
authors = [
"Yurii Karabas <[email protected]>",
Expand Down

0 comments on commit 8a5ccfa

Please sign in to comment.