organizations-local 0.0.35__tar.gz → 0.0.37__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: organizations-local
3
- Version: 0.0.35
3
+ Version: 0.0.37
4
4
  Summary: PyPI Package for Circles organizations-local Python
5
5
  Home-page: https://github.com/circles-zone/organizations-local-python-package
6
6
  Author: Circles
@@ -202,7 +202,7 @@ class OrganizationsLocal(GenericCRUDML, metaclass=MetaLogger,
202
202
  # Edited by Tal Goodman on 12.7.24
203
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
- update_status_and_information_list = {"update_status": UpdateStatus.UPDATE_CIRCLEZ}
205
+ update_status_and_information_list = [{"update_status": UpdateStatus.UPDATE_CIRCLEZ}]
206
206
  return update_status_and_information_list
207
207
  sync_conflict_resolution = SyncConflictResolution()
208
208
  # TODO: Shall we also check update_timestamp in organization_table to see if the name was changed?
@@ -211,6 +211,7 @@ class OrganizationsLocal(GenericCRUDML, metaclass=MetaLogger,
211
211
  where="profile_id = %s", params=(main_profile_id,), local_last_modified_column_name="updated_timestamp",
212
212
  remote_last_modified_timestamp=last_modified_timestamp)
213
213
  # Add organization_names to update_status_and_information_list
214
+ # TODO: Can we use a list of only the updated organization since the last sync?
214
215
  organizations_ids_list = []
215
216
  for update_status_and_information in update_status_and_information_list:
216
217
  organization_id = update_status_and_information.get("organization_id")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: organizations-local
3
- Version: 0.0.35
3
+ Version: 0.0.37
4
4
  Summary: PyPI Package for Circles organizations-local Python
5
5
  Home-page: https://github.com/circles-zone/organizations-local-python-package
6
6
  Author: Circles
@@ -6,7 +6,7 @@ package_dir = PACKAGE_NAME.replace("-", "_")
6
6
 
7
7
  setuptools.setup(
8
8
  name=PACKAGE_NAME,
9
- version='0.0.35', # https://pypi.org/project/organizations-local/
9
+ version='0.0.37', # https://pypi.org/project/organizations-local/
10
10
  author="Circles",
11
11
  author_email="info@circlez.ai",
12
12
  description="PyPI Package for Circles organizations-local Python",