folio-data-import 0.2.8rc1__py3-none-any.whl → 0.2.8rc2__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.

Potentially problematic release.


This version of folio-data-import might be problematic. Click here for more details.

@@ -539,7 +539,7 @@ class UserImporter: # noqa: R0902
539
539
  and the existing PU object (existing_pu).
540
540
  """
541
541
  rp_obj = user_obj.pop("requestPreference", {})
542
- spu_obj = user_obj.pop("servicePointsUser")
542
+ spu_obj = user_obj.pop("servicePointsUser", {})
543
543
  existing_user = await self.get_existing_user(user_obj)
544
544
  if existing_user:
545
545
  existing_rp = await self.get_existing_rp(user_obj, existing_user)
@@ -769,7 +769,7 @@ class UserImporter: # noqa: R0902
769
769
  existing_spu (dict): The existing service-points-user object, if it exists.
770
770
  existing_user (dict): The existing user object associated with the spu_obj.
771
771
  """
772
- if spu_obj is not None:
772
+ if spu_obj:
773
773
  await self.map_service_points(spu_obj, existing_user)
774
774
  if existing_spu:
775
775
  await self.update_existing_spu(spu_obj, existing_spu)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: folio_data_import
3
- Version: 0.2.8rc1
3
+ Version: 0.2.8rc2
4
4
  Summary: A python module to interact with the data importing capabilities of the open-source FOLIO ILS
5
5
  License: MIT
6
6
  Author: Brooks Travis
@@ -1,11 +1,11 @@
1
1
  folio_data_import/MARCDataImport.py,sha256=gFBq6DwghC3hXPkkM-c0XlPjtoZwITVAeEhH8joPIQo,23450
2
- folio_data_import/UserImport.py,sha256=zs0kts3dCY2L0ZdMgtsbT0xrTXabvP3wxd9B75FcWF8,40984
2
+ folio_data_import/UserImport.py,sha256=Y9ZjYoUP_vNJVftx_xUcbBqvC5CwWeuzlmCcSVQfzgo,40976
3
3
  folio_data_import/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  folio_data_import/__main__.py,sha256=kav_uUsnrIjGjVxQkk3exLKrc1mah9t2x3G6bGS-5I0,3710
5
5
  folio_data_import/marc_preprocessors/__init__.py,sha256=Wt-TKkMhUyZWFS-WhAmbShKQLPjXmHKPb2vL6kvkqVA,72
6
6
  folio_data_import/marc_preprocessors/_preprocessors.py,sha256=srx36pgY0cwl6_0z6CVOyM_Uzr_g2RObo1jJJjSEZJs,944
7
- folio_data_import-0.2.8rc1.dist-info/LICENSE,sha256=qJX7wxMC7ky9Kq4v3zij8MjGEiC5wsB7pYeOhLj5TDk,1083
8
- folio_data_import-0.2.8rc1.dist-info/METADATA,sha256=ofqGY2Z0W50cu5kZTkvLp6IRB2NyBsVyPSkmBA6yf3k,6115
9
- folio_data_import-0.2.8rc1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
10
- folio_data_import-0.2.8rc1.dist-info/entry_points.txt,sha256=498SxWVXeEMRNw3PUf-eoReZvKewmYwPBtZhIUPr_Jg,192
11
- folio_data_import-0.2.8rc1.dist-info/RECORD,,
7
+ folio_data_import-0.2.8rc2.dist-info/LICENSE,sha256=qJX7wxMC7ky9Kq4v3zij8MjGEiC5wsB7pYeOhLj5TDk,1083
8
+ folio_data_import-0.2.8rc2.dist-info/METADATA,sha256=KJHfmLLY-_U7EhZwxgtsTCRwpkIBUai7vyxwIQVmWP8,6115
9
+ folio_data_import-0.2.8rc2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
10
+ folio_data_import-0.2.8rc2.dist-info/entry_points.txt,sha256=498SxWVXeEMRNw3PUf-eoReZvKewmYwPBtZhIUPr_Jg,192
11
+ folio_data_import-0.2.8rc2.dist-info/RECORD,,