organizations-local 0.0.31__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: organizations-local
3
- Version: 0.0.31
3
+ Version: 0.0.32
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
@@ -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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: organizations-local
3
- Version: 0.0.31
3
+ Version: 0.0.32
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.31', # https://pypi.org/project/organizations-local/
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",