finalsa-common-models 2.1.3__tar.gz → 2.1.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: finalsa-common-models
3
- Version: 2.1.3
3
+ Version: 2.1.5
4
4
  Summary: Common models for Finalsa
5
5
  Project-URL: Homepage, https://github.com/finalsa/finalsa-common-models
6
6
  Author-email: Luis Jimenez <luis@finalsa.com>
@@ -27,7 +27,7 @@ class PaginationRequest(BaseModel):
27
27
  def from_request(cls, request: Any) -> "PaginationRequest":
28
28
  """Parse query params into PaginationRequest. Handles JSON-encoded 'from' param."""
29
29
  params = request.query_params
30
- data = {}
30
+ data = {**request.query_params}
31
31
  if limit := params.get("limit"):
32
32
  data["limit"] = int(limit)
33
33
  if from_param := params.get("from"):
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "finalsa-common-models"
3
- version = "2.1.3"
3
+ version = "2.1.5"
4
4
  description = "Common models for Finalsa"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"