Skip to content

Commit

Permalink
Merge pull request #19 from swarmauri/cobycloud-patch-1
Browse files Browse the repository at this point in the history
v0.0.4.dev10
  • Loading branch information
cobycloud authored Dec 3, 2024
2 parents 92e027c + bd2a7fe commit fd332f1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pkgs/crouton/crouton/core/sqlalchemy.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ def route(
filters = self._parse_query_params(query_params)

# Apply filters to the query
query = db.query(self.db_model).filter_by(**filters)
db_models: Model = (
query.order_by(getattr(self.db_model, self._pk))
.filter_by(**query)
db.query(self.db_model)
.filter_by(**filters)
.order_by(getattr(self.db_model, self._pk))
.limit(limit)
.offset(skip)
.all()
Expand Down
2 changes: 1 addition & 1 deletion pkgs/crouton/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "crouton"
version = "0.0.4.dev9"
version = "0.0.4.dev10"
description = "A repository to enable API CRUD Routing"
authors = ["Jacob Stewart <[email protected]>"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion pkgs/crouton_client/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "crouton_client"
version = "0.0.4.dev9"
version = "0.0.4.dev10"
description = "A client for Swarmauri's crouton."
authors = ["Jacob Stewart <[email protected]>"]
license = "Apache-2.0"
Expand Down

0 comments on commit fd332f1

Please sign in to comment.