organizations-local 0.0.31__py3-none-any.whl → 0.0.33__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.
@@ -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
- where_clause_value = "organization_id in ({})".format(
179
- ", ".join([str(organization_id) for organization_id in organizations_ids_list]))
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
@@ -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["organization_id"]: item["title"] for item in organizations_ids_and_names_list}
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")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: organizations-local
3
- Version: 0.0.31
3
+ Version: 0.0.33
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
@@ -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=Lb_qyp9IUVmMWXAmCsd-Yr3RQtzTurMptE1WDTO0IbM,13082
4
+ organizations_local-0.0.33.dist-info/METADATA,sha256=tkxRkALyvrOqC5kwoaC-w-npvwKy-oJvbfAhyDEOSU4,654
5
+ organizations_local-0.0.33.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
6
+ organizations_local-0.0.33.dist-info/top_level.txt,sha256=Y8wRcm3jFTyMdysBub_P8iqX1VOMS0ohUxA1GQdngFU,20
7
+ organizations_local-0.0.33.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=Tk84sAUu2N8IA40OkRIjMbFudMR6JvJwQbyKsdKzmV4,13121
4
- organizations_local-0.0.31.dist-info/METADATA,sha256=dYHdFkJr5b3AcU9rTSjZv4Q8YndPR7sQcXFhlRcl7Sc,654
5
- organizations_local-0.0.31.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
6
- organizations_local-0.0.31.dist-info/top_level.txt,sha256=Y8wRcm3jFTyMdysBub_P8iqX1VOMS0ohUxA1GQdngFU,20
7
- organizations_local-0.0.31.dist-info/RECORD,,