maleo-foundation 0.2.91__py3-none-any.whl → 0.2.94__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.
- maleo_foundation/managers/client/google/base.py +1 -1
- maleo_foundation/utils/query.py +3 -3
- {maleo_foundation-0.2.91.dist-info → maleo_foundation-0.2.94.dist-info}/METADATA +1 -1
- {maleo_foundation-0.2.91.dist-info → maleo_foundation-0.2.94.dist-info}/RECORD +6 -6
- {maleo_foundation-0.2.91.dist-info → maleo_foundation-0.2.94.dist-info}/WHEEL +0 -0
- {maleo_foundation-0.2.91.dist-info → maleo_foundation-0.2.94.dist-info}/top_level.txt +0 -0
@@ -23,7 +23,7 @@ class GoogleClientManager(ClientManager):
|
|
23
23
|
if credentials is not None:
|
24
24
|
self._credentials = credentials
|
25
25
|
else:
|
26
|
-
self._credentials = GoogleCredentialsLoader(credentials_path)
|
26
|
+
self._credentials = GoogleCredentialsLoader.load(credentials_path)
|
27
27
|
|
28
28
|
self._project_id = self._credentials.project_id
|
29
29
|
|
maleo_foundation/utils/query.py
CHANGED
@@ -43,14 +43,14 @@ class BaseQueryUtils:
|
|
43
43
|
column_attr = getattr(table, column, None)
|
44
44
|
if column_attr is None or not isinstance(column_attr, InstrumentedAttribute):
|
45
45
|
return query
|
46
|
-
|
46
|
+
|
47
47
|
id_filters = []
|
48
48
|
if ids is not None:
|
49
49
|
id_filters.extend([column_attr == id for id in ids])
|
50
|
-
if include_null:
|
51
|
-
id_filters.append(column_attr.is_(None))
|
52
50
|
|
53
51
|
if id_filters:
|
52
|
+
if include_null:
|
53
|
+
id_filters.append(column_attr.is_(None))
|
54
54
|
query = query.filter(or_(*id_filters))
|
55
55
|
|
56
56
|
return query
|
@@ -42,7 +42,7 @@ maleo_foundation/managers/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRk
|
|
42
42
|
maleo_foundation/managers/client/base.py,sha256=mKIajI8Kis9W1_TKJmAO-xFavNk2Be3aFhAE3J66Gqg,4272
|
43
43
|
maleo_foundation/managers/client/maleo.py,sha256=5vDKXObH0qlCaY0-t4FJJdgXYFklnZw3Cyxk3kmAO8k,2653
|
44
44
|
maleo_foundation/managers/client/google/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
45
|
-
maleo_foundation/managers/client/google/base.py,sha256=
|
45
|
+
maleo_foundation/managers/client/google/base.py,sha256=kBXwbkidoEHomwoMOlY-qwFj-t-eaGDDeNqL9wTQwRE,1371
|
46
46
|
maleo_foundation/managers/client/google/parameter.py,sha256=Lnj7mQgxWQpsQwbmDRK5_bF01M1QpM5PS0eZP2q17yQ,1337
|
47
47
|
maleo_foundation/managers/client/google/secret.py,sha256=Ski1CHYeA8vjSk2Oc2Pf4CfFrzT_RcA6NEZwza7gM7Y,4464
|
48
48
|
maleo_foundation/managers/client/google/storage.py,sha256=6ke3tXFSdj2DmMS6CvsgCiWY-LbcGdx1AW4TQX0P2Y0,5390
|
@@ -104,7 +104,7 @@ maleo_foundation/utils/exceptions.py,sha256=eM__Mxo-BC5d7JmoBd-Wh-fmryUdfjNfOuY_
|
|
104
104
|
maleo_foundation/utils/extractor.py,sha256=0HoJ0hLqt3-izaekjPfxqWjvUmXTsm4Muyttu0_VyuI,2109
|
105
105
|
maleo_foundation/utils/logging.py,sha256=W5Fhk_xAXVqSujaY8mv3hRH4wlQSpUn4ReuMoiKcQa4,7759
|
106
106
|
maleo_foundation/utils/merger.py,sha256=z9GROLVtGpwx84bOiakBFphKazsI-9l3F3WauTDwQLs,597
|
107
|
-
maleo_foundation/utils/query.py,sha256=
|
107
|
+
maleo_foundation/utils/query.py,sha256=lA6GedUh6phd5Q3S4-1J6v3tdIt2c8hahbTOlGpXYco,7957
|
108
108
|
maleo_foundation/utils/repository.py,sha256=knBi3xOLlhBIEtChvqbZh4wXmgrFCB3rDwQXy41d7_c,2852
|
109
109
|
maleo_foundation/utils/searcher.py,sha256=gsseMkr0swKj3l-xil5qqncTbYNkS96eieFE_ehaF8I,504
|
110
110
|
maleo_foundation/utils/dependencies/__init__.py,sha256=0KKGrdfj8Cc5A4SRk_ZBAxzOP795Mizdb4zIBh07KC4,122
|
@@ -119,7 +119,7 @@ maleo_foundation/utils/loaders/credential/__init__.py,sha256=qopTKvcMVoTFwyRijeg
|
|
119
119
|
maleo_foundation/utils/loaders/credential/google.py,sha256=HUcuHD4tXHPt0eHInlFYxA_MDrGSOtbenpd0PX156OM,1255
|
120
120
|
maleo_foundation/utils/loaders/key/__init__.py,sha256=hVygcC2ImHc_aVrSrOmyedR8tMUZokWUKCKOSh5ctbo,106
|
121
121
|
maleo_foundation/utils/loaders/key/rsa.py,sha256=gDhyX6iTFtHiluuhFCozaZ3pOLKU2Y9TlrNMK_GVyGU,3796
|
122
|
-
maleo_foundation-0.2.
|
123
|
-
maleo_foundation-0.2.
|
124
|
-
maleo_foundation-0.2.
|
125
|
-
maleo_foundation-0.2.
|
122
|
+
maleo_foundation-0.2.94.dist-info/METADATA,sha256=ahBM4inPMLP02-XlByaZ1ScZaIuyzWN4RUobmtoksmE,3598
|
123
|
+
maleo_foundation-0.2.94.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
124
|
+
maleo_foundation-0.2.94.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
|
125
|
+
maleo_foundation-0.2.94.dist-info/RECORD,,
|
File without changes
|
File without changes
|