organizations-local 0.0.21__py3-none-any.whl → 0.0.23__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.
@@ -93,7 +93,7 @@ class OrganizationsLocal(GenericCRUDML, metaclass=MetaLogger,
93
93
  return organization_id, organization_ml_id
94
94
 
95
95
  def upsert_organization(self, organization_dict: dict, order_by: str = None) -> dict:
96
- lang_code = LangCode.detect_lang_code(organization_dict.get('title'))
96
+ lang_code = LangCode.detect_lang_code_restricted(text=organization_dict.get('title'), default_lang_code=LangCode.ENGLISH)
97
97
  organization_ml_dict = self._clean_organization_ml_dict(organization_dict)
98
98
  organization_dict = self._clean_organization_dict(organization_dict)
99
99
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: organizations-local
3
- Version: 0.0.21
3
+ Version: 0.0.23
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=sB7VRx4vCP8j8kT2BFlVj2-ECssBTvRoh_RKmnwSXU0,8674
4
+ organizations_local-0.0.23.dist-info/METADATA,sha256=J7SrUICFm7CZZ5G7lvWrIPdCKEs8RW0xVO70tPrHzns,654
5
+ organizations_local-0.0.23.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
6
+ organizations_local-0.0.23.dist-info/top_level.txt,sha256=Y8wRcm3jFTyMdysBub_P8iqX1VOMS0ohUxA1GQdngFU,20
7
+ organizations_local-0.0.23.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=oLAfnKNPZotP9VQEHZ3fIhmH41sVr7yzvCwUezOuwqY,8622
4
- organizations_local-0.0.21.dist-info/METADATA,sha256=mw8_j0dIxlcIUWTVluwSTOgd7h-z99hR6x5SNwOuQ8c,654
5
- organizations_local-0.0.21.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
6
- organizations_local-0.0.21.dist-info/top_level.txt,sha256=Y8wRcm3jFTyMdysBub_P8iqX1VOMS0ohUxA1GQdngFU,20
7
- organizations_local-0.0.21.dist-info/RECORD,,