rb-commons 0.7.5__py3-none-any.whl → 0.7.7__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.
rb_commons/orm/enum.py ADDED
@@ -0,0 +1,6 @@
1
+ from enum import Enum
2
+
3
+ class OriginType(str, Enum):
4
+ MANUAL = "MANUAL"
5
+ ETL = "ETL"
6
+ API = "API"
@@ -10,7 +10,7 @@ from sqlalchemy.orm import declarative_base, selectinload, RelationshipProperty,
10
10
  from rb_commons.http.exceptions import NotFoundException
11
11
  from rb_commons.orm.exceptions import DatabaseException, InternalException
12
12
  from functools import lru_cache, wraps
13
- from querysets import Q, QJSON
13
+ from rb_commons.orm.querysets import Q, QJSON
14
14
 
15
15
  ModelType = TypeVar('ModelType', bound=declarative_base())
16
16
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rb-commons
3
- Version: 0.7.5
3
+ Version: 0.7.7
4
4
  Summary: Commons of project and simplified orm based on sqlalchemy.
5
5
  Home-page: https://github.com/RoboSell-organization/rb-commons
6
6
  Author: Abdulvoris
@@ -12,8 +12,9 @@ rb_commons/http/base_api.py,sha256=ZiSJX5z-1QbL5RuKm30wf-3kbOu4s2plb8q3v0DQUKo,5
12
12
  rb_commons/http/consul.py,sha256=Ioq72VD1jGwoC96set7n2SgxN40olzI-myA2lwKkYi4,1864
13
13
  rb_commons/http/exceptions.py,sha256=EGRMr1cRgiJ9Q2tkfANbf0c6-zzXf1CD6J3cmCaT_FA,1885
14
14
  rb_commons/orm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
+ rb_commons/orm/enum.py,sha256=RXWph5RiTNPu7WBSNBPX9tzNQDZWZBxvKS68HZYWVTg,110
15
16
  rb_commons/orm/exceptions.py,sha256=1aMctiEwrPjyehoXVX1l6ML5ZOhmDkmBISzlTD5ey1Y,509
16
- rb_commons/orm/managers.py,sha256=Wa_2_l5I7XOAgW8tLeW-poioctpVNm7jJP2t1hbuzIk,20304
17
+ rb_commons/orm/managers.py,sha256=BrpMvOkRoAPKtUV1SfakXMYd73-RhqIaoj1Wmru1gAs,20319
17
18
  rb_commons/orm/querysets.py,sha256=Q4iY_TKZItpNnrbCAvlSwyCxJikhaX5qVF3Y2rVgAYQ,1666
18
19
  rb_commons/orm/services.py,sha256=71eRcJ4TxZvzNz-hLXo12X4U7PGK54ZfbLAb27AjZi8,1589
19
20
  rb_commons/permissions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -23,7 +24,7 @@ rb_commons/schemes/jwt.py,sha256=ZKLJ5D3fcEmEKySjzbxEgUcza4K-oPoHr14_Z0r9Yic,249
23
24
  rb_commons/schemes/pagination.py,sha256=8VZW1wZGJIPR9jEBUgppZUoB4uqP8ORudHkMwvEJSxg,1866
24
25
  rb_commons/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
26
  rb_commons/utils/media.py,sha256=J2Zi0J28DhcVQVzt-myNNVuzj9Msaetul53VjZtdDdc,820
26
- rb_commons-0.7.5.dist-info/METADATA,sha256=zwn9BpfVaH7ycv10Pi9wkgmKsgC6tvPe3uzcUzu86wo,6570
27
- rb_commons-0.7.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
28
- rb_commons-0.7.5.dist-info/top_level.txt,sha256=HPx_WAYo3_fbg1WCeGHsz3wPGio1ucbnrlm2lmqlJog,11
29
- rb_commons-0.7.5.dist-info/RECORD,,
27
+ rb_commons-0.7.7.dist-info/METADATA,sha256=rx9Qtp-geMAsWp1jWwptsVhPulbZieBjKW9_BH_eRps,6570
28
+ rb_commons-0.7.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
29
+ rb_commons-0.7.7.dist-info/top_level.txt,sha256=HPx_WAYo3_fbg1WCeGHsz3wPGio1ucbnrlm2lmqlJog,11
30
+ rb_commons-0.7.7.dist-info/RECORD,,