organizations-local 0.0.32__py3-none-any.whl → 0.0.34__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 +3 -3
- {organizations_local-0.0.32.dist-info → organizations_local-0.0.34.dist-info}/METADATA +1 -1
- organizations_local-0.0.34.dist-info/RECORD +7 -0
- organizations_local-0.0.32.dist-info/RECORD +0 -7
- {organizations_local-0.0.32.dist-info → organizations_local-0.0.34.dist-info}/WHEEL +0 -0
- {organizations_local-0.0.32.dist-info → organizations_local-0.0.34.dist-info}/top_level.txt +0 -0
|
@@ -200,9 +200,9 @@ 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
|
-
def get_update_status_and_information_list(self, *, last_modified_timestamp: str, main_profile_id: int) -> list[dict]:
|
|
203
|
+
def get_update_status_and_information_list(self, *, last_modified_timestamp: str, main_profile_id: int or None) -> list[dict]:
|
|
204
204
|
if main_profile_id is None:
|
|
205
|
-
return UpdateStatus.UPDATE_CIRCLEZ
|
|
205
|
+
return [UpdateStatus.UPDATE_CIRCLEZ]
|
|
206
206
|
sync_conflict_resolution = SyncConflictResolution()
|
|
207
207
|
# TODO: Shall we also check update_timestamp in organization_table to see if the name was changed?
|
|
208
208
|
update_status_and_information_list: list[dict] = sync_conflict_resolution.get_update_status_and_information_list_by_where(
|
|
@@ -221,7 +221,7 @@ class OrganizationsLocal(GenericCRUDML, metaclass=MetaLogger,
|
|
|
221
221
|
view_table_name="organization_ml_view")
|
|
222
222
|
|
|
223
223
|
# Convert organizations_ids_and_names_list to a dictionary
|
|
224
|
-
organizations_ids_and_names_dict = {item[
|
|
224
|
+
organizations_ids_and_names_dict = {item[0]: item[1] for item in organizations_ids_and_names_list}
|
|
225
225
|
|
|
226
226
|
for update_status_and_information in update_status_and_information_list:
|
|
227
227
|
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=_RRgwpBB7r0oYlRVye6TGmUcQwYk1-9tb4qXA0KmxhU,13092
|
|
4
|
+
organizations_local-0.0.34.dist-info/METADATA,sha256=k7xv3Zzwh82Qsu9BFG0ZS9IohsAC7xuMRHNHJGlUQGA,654
|
|
5
|
+
organizations_local-0.0.34.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
|
|
6
|
+
organizations_local-0.0.34.dist-info/top_level.txt,sha256=Y8wRcm3jFTyMdysBub_P8iqX1VOMS0ohUxA1GQdngFU,20
|
|
7
|
+
organizations_local-0.0.34.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=jtU97Pr4fVBZgSKVWKpIJGyHsyc6W8IDbseHmHJj9U0,13104
|
|
4
|
-
organizations_local-0.0.32.dist-info/METADATA,sha256=UJCM6Ijx1Q2FpidnjwO3IPo2MG_169YT_ldaZQZ3wyg,654
|
|
5
|
-
organizations_local-0.0.32.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
|
|
6
|
-
organizations_local-0.0.32.dist-info/top_level.txt,sha256=Y8wRcm3jFTyMdysBub_P8iqX1VOMS0ohUxA1GQdngFU,20
|
|
7
|
-
organizations_local-0.0.32.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|