python-general-be-lib 0.7.1__py3-none-any.whl → 0.7.2__py3-none-any.whl

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.
@@ -83,9 +83,9 @@ class IntervalHandler(BaseHandler):
83
83
  from_condition = where.pop(self.from_alias, None)
84
84
  to_condition = where.pop(self.to_alias, None) if not self.between else from_condition
85
85
  if from_condition:
86
- stmt = stmt.where(self.columns[self.from_] <= from_condition)
86
+ stmt = stmt.where(self.columns[self.from_] >= from_condition)
87
87
  if to_condition:
88
- condition = self.columns[self.to_] >= to_condition
88
+ condition = self.columns[self.to_] <= to_condition
89
89
  if self.inf_is_none:
90
90
  condition = or_(condition, self.columns[self.to_] == None)
91
91
  stmt = stmt.where(condition)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-general-be-lib
3
- Version: 0.7.1
3
+ Version: 0.7.2
4
4
  Summary: General purpose backend library — SQLAlchemy CRUD/Geometry repositories, FastAPI exceptions, Pydantic base models, logger utilities.
5
5
  Author-email: Andrea Di Placido <a.diplacido@arpes.it>, "Arpes S.r.l." <it.admin@arpes.it>
6
6
  License: MIT
@@ -20,13 +20,13 @@ general/interface/repository/view_repository.py,sha256=Rr9toRVop0sLpPwo9QvBDJgLQ
20
20
  general/interface/repository/handler/__init__.py,sha256=J-fc-5Dl_C821oy_EVRdyU-L2iXiNFriYJDbK4ODIMM,184
21
21
  general/interface/repository/handler/base_handler.py,sha256=jedf7ACFPlYKHC9U9ZpVN4vCC0EXO3s4Rtyn15kKi_w,3558
22
22
  general/interface/repository/handler/ilike_handler.py,sha256=_HHTvj6Tm1L-WvUy1S9faRChoRZni11i9mv76I4Xak0,3919
23
- general/interface/repository/handler/interval_handler.py,sha256=LGg9MQyalTmlxthdzlIJXv5WT58NEz1QMUB-06pNR7M,4135
23
+ general/interface/repository/handler/interval_handler.py,sha256=XxMQr6UuWnoCtbOOO7l80_Yja_aPKYtHhDfhFCRMaKg,4135
24
24
  general/interface/repository/handler/json_handler.py,sha256=7bS59seB-It5KHsWXTbHGsEvbQZ6lYyvX-d29BcRLVE,2956
25
25
  general/interface/repository/handler/json_ilike_handler.py,sha256=yDuKER3yqtnHpVWndF8PVEaqDThcq1EhZzLaqxbQ0bU,4491
26
26
  general/interface/repository/handler/or_handler.py,sha256=v97QMQwqrhTpfpZQWfvL6HC4lM9kjMEmY0-Sps968oI,3818
27
27
  general/interface/repository/handler/statement_manager.py,sha256=sGDMU4fPkF0_9-SbDmAw8Vpel1Z7eImBs8fHO-5Lr_0,4429
28
- python_general_be_lib-0.7.1.dist-info/licenses/LICENSE,sha256=iUaO1XZyB9P3Tmog0OILuTisP6vXGe3QKz-4yRTxOFk,1069
29
- python_general_be_lib-0.7.1.dist-info/METADATA,sha256=WEDCiuFY7P2ToCxtUhOOxMaYhtYuyDF9GnaQHLO_eBY,1384
30
- python_general_be_lib-0.7.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
31
- python_general_be_lib-0.7.1.dist-info/top_level.txt,sha256=tTZePW8_CNUqSgKFd2SEH72ZbnhS0OYjRsgcv0ikSFY,8
32
- python_general_be_lib-0.7.1.dist-info/RECORD,,
28
+ python_general_be_lib-0.7.2.dist-info/licenses/LICENSE,sha256=iUaO1XZyB9P3Tmog0OILuTisP6vXGe3QKz-4yRTxOFk,1069
29
+ python_general_be_lib-0.7.2.dist-info/METADATA,sha256=LbEQClRvdq4ciLqXtzLUaPolVH5-bjXzPMwkh2GXi2o,1384
30
+ python_general_be_lib-0.7.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
31
+ python_general_be_lib-0.7.2.dist-info/top_level.txt,sha256=tTZePW8_CNUqSgKFd2SEH72ZbnhS0OYjRsgcv0ikSFY,8
32
+ python_general_be_lib-0.7.2.dist-info/RECORD,,