organizations-local 0.0.36__py3-none-any.whl → 0.0.38__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.
- organizations_local/organizations_local.py +2 -0
- {organizations_local-0.0.36.dist-info → organizations_local-0.0.38.dist-info}/METADATA +1 -1
- organizations_local-0.0.38.dist-info/RECORD +7 -0
- {organizations_local-0.0.36.dist-info → organizations_local-0.0.38.dist-info}/WHEEL +1 -1
- organizations_local-0.0.36.dist-info/RECORD +0 -7
- {organizations_local-0.0.36.dist-info → organizations_local-0.0.38.dist-info}/top_level.txt +0 -0
|
@@ -200,6 +200,7 @@ class OrganizationsLocal(GenericCRUDML, metaclass=MetaLogger,
|
|
|
200
200
|
|
|
201
201
|
# If we add the support of multiple organizations per contact, We will have to fix this method
|
|
202
202
|
# Edited by Tal Goodman on 12.7.24
|
|
203
|
+
# Was def get_update_status(self, *, last_modified_timestamp: str, main_profile_id: int) -> UpdateStatus:
|
|
203
204
|
def get_update_status_and_information_list(self, *, last_modified_timestamp: str, main_profile_id: int or None) -> list[dict]:
|
|
204
205
|
if main_profile_id is None:
|
|
205
206
|
update_status_and_information_list = [{"update_status": UpdateStatus.UPDATE_CIRCLEZ}]
|
|
@@ -211,6 +212,7 @@ class OrganizationsLocal(GenericCRUDML, metaclass=MetaLogger,
|
|
|
211
212
|
where="profile_id = %s", params=(main_profile_id,), local_last_modified_column_name="updated_timestamp",
|
|
212
213
|
remote_last_modified_timestamp=last_modified_timestamp)
|
|
213
214
|
# Add organization_names to update_status_and_information_list
|
|
215
|
+
# TODO: Can we use a list of only the updated organization since the last sync?
|
|
214
216
|
organizations_ids_list = []
|
|
215
217
|
for update_status_and_information in update_status_and_information_list:
|
|
216
218
|
organization_id = update_status_and_information.get("organization_id")
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
organizations_local/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
organizations_local/organizations_constants.py,sha256=pxyAMmv4BFCfzyDsF92vImLdazA7_0ecKyVmOR9peEE,900
|
|
3
|
+
organizations_local/organizations_local.py,sha256=1lYHHI_vWP9u7HQeBewRGbd3RzcgLIy20J_UQL7OF-M,13393
|
|
4
|
+
organizations_local-0.0.38.dist-info/METADATA,sha256=0xefew2hm5UnpIB8kFbcnPUNwOrFDdEvhEmerzwY_CI,654
|
|
5
|
+
organizations_local-0.0.38.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
|
|
6
|
+
organizations_local-0.0.38.dist-info/top_level.txt,sha256=Y8wRcm3jFTyMdysBub_P8iqX1VOMS0ohUxA1GQdngFU,20
|
|
7
|
+
organizations_local-0.0.38.dist-info/RECORD,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
organizations_local/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
organizations_local/organizations_constants.py,sha256=pxyAMmv4BFCfzyDsF92vImLdazA7_0ecKyVmOR9peEE,900
|
|
3
|
-
organizations_local/organizations_local.py,sha256=UymsHiJwsN_0-gbgKrKkWGJnneE73WwQcrU_SDp0GTo,13195
|
|
4
|
-
organizations_local-0.0.36.dist-info/METADATA,sha256=yLnQvbSeL7Vcs2gprIzh6ViUmpC5uzjzUvPEaClp7Uw,654
|
|
5
|
-
organizations_local-0.0.36.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
|
|
6
|
-
organizations_local-0.0.36.dist-info/top_level.txt,sha256=Y8wRcm3jFTyMdysBub_P8iqX1VOMS0ohUxA1GQdngFU,20
|
|
7
|
-
organizations_local-0.0.36.dist-info/RECORD,,
|
|
File without changes
|