organizations-local 0.0.36__tar.gz → 0.0.38__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.36
3
+ Version: 0.0.38
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
@@ -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")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: organizations-local
3
- Version: 0.0.36
3
+ Version: 0.0.38
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.36', # https://pypi.org/project/organizations-local/
9
+ version='0.0.38', # 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",