organizations-local 0.0.30__tar.gz → 0.0.32__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.
- {organizations_local-0.0.30 → organizations_local-0.0.32}/PKG-INFO +1 -1
- {organizations_local-0.0.30 → organizations_local-0.0.32}/organizations_local/src/organizations_local.py +4 -3
- {organizations_local-0.0.30 → organizations_local-0.0.32}/organizations_local.egg-info/PKG-INFO +1 -1
- {organizations_local-0.0.30 → organizations_local-0.0.32}/setup.py +1 -1
- {organizations_local-0.0.30 → organizations_local-0.0.32}/README.md +0 -0
- {organizations_local-0.0.30 → organizations_local-0.0.32}/organizations_local/src/__init__.py +0 -0
- {organizations_local-0.0.30 → organizations_local-0.0.32}/organizations_local/src/organizations_constants.py +0 -0
- {organizations_local-0.0.30 → organizations_local-0.0.32}/organizations_local.egg-info/SOURCES.txt +0 -0
- {organizations_local-0.0.30 → organizations_local-0.0.32}/organizations_local.egg-info/dependency_links.txt +0 -0
- {organizations_local-0.0.30 → organizations_local-0.0.32}/organizations_local.egg-info/requires.txt +0 -0
- {organizations_local-0.0.30 → organizations_local-0.0.32}/organizations_local.egg-info/top_level.txt +0 -0
- {organizations_local-0.0.30 → organizations_local-0.0.32}/pyproject.toml +0 -0
- {organizations_local-0.0.30 → organizations_local-0.0.32}/setup.cfg +0 -0
|
@@ -175,8 +175,8 @@ class OrganizationsLocal(GenericCRUDML, metaclass=MetaLogger,
|
|
|
175
175
|
view_table_name = view_table_name or DEFAULT_ML_VIEW_NAME
|
|
176
176
|
organizations_ids_and_names_list = []
|
|
177
177
|
select_clause_value = "organization_id, title"
|
|
178
|
-
|
|
179
|
-
|
|
178
|
+
placeholders = ', '.join(['%s'] * len(organizations_ids_list))
|
|
179
|
+
where_clause_value = f"organization_id in ({placeholders})"
|
|
180
180
|
organizations_ids_and_names_list = self.select_multi_tuple_by_where(
|
|
181
181
|
view_table_name=view_table_name, select_clause_value=select_clause_value,
|
|
182
182
|
where=where_clause_value, params=organizations_ids_list
|
|
@@ -204,8 +204,9 @@ class OrganizationsLocal(GenericCRUDML, metaclass=MetaLogger,
|
|
|
204
204
|
if main_profile_id is None:
|
|
205
205
|
return UpdateStatus.UPDATE_CIRCLEZ
|
|
206
206
|
sync_conflict_resolution = SyncConflictResolution()
|
|
207
|
+
# TODO: Shall we also check update_timestamp in organization_table to see if the name was changed?
|
|
207
208
|
update_status_and_information_list: list[dict] = sync_conflict_resolution.get_update_status_and_information_list_by_where(
|
|
208
|
-
schema_name=
|
|
209
|
+
schema_name="organization_profile", view_table_name="organization_profile_view",
|
|
209
210
|
where="profile_id = %s", params=(main_profile_id,), local_last_modified_column_name="updated_timestamp",
|
|
210
211
|
remote_last_modified_timestamp=last_modified_timestamp)
|
|
211
212
|
# Add organization_names to update_status_and_information_list
|
|
@@ -6,7 +6,7 @@ package_dir = PACKAGE_NAME.replace("-", "_")
|
|
|
6
6
|
|
|
7
7
|
setuptools.setup(
|
|
8
8
|
name=PACKAGE_NAME,
|
|
9
|
-
version='0.0.
|
|
9
|
+
version='0.0.32', # 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",
|
|
File without changes
|
{organizations_local-0.0.30 → organizations_local-0.0.32}/organizations_local/src/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{organizations_local-0.0.30 → organizations_local-0.0.32}/organizations_local.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{organizations_local-0.0.30 → organizations_local-0.0.32}/organizations_local.egg-info/requires.txt
RENAMED
|
File without changes
|
{organizations_local-0.0.30 → organizations_local-0.0.32}/organizations_local.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|