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.
- folio_data_import/UserImport.py +2 -2
- {folio_data_import-0.2.8rc1.dist-info → folio_data_import-0.2.8rc2.dist-info}/METADATA +1 -1
- {folio_data_import-0.2.8rc1.dist-info → folio_data_import-0.2.8rc2.dist-info}/RECORD +6 -6
- {folio_data_import-0.2.8rc1.dist-info → folio_data_import-0.2.8rc2.dist-info}/LICENSE +0 -0
- {folio_data_import-0.2.8rc1.dist-info → folio_data_import-0.2.8rc2.dist-info}/WHEEL +0 -0
- {folio_data_import-0.2.8rc1.dist-info → folio_data_import-0.2.8rc2.dist-info}/entry_points.txt +0 -0
folio_data_import/UserImport.py
CHANGED
|
@@ -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
|
|
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,11 +1,11 @@
|
|
|
1
1
|
folio_data_import/MARCDataImport.py,sha256=gFBq6DwghC3hXPkkM-c0XlPjtoZwITVAeEhH8joPIQo,23450
|
|
2
|
-
folio_data_import/UserImport.py,sha256=
|
|
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.
|
|
8
|
-
folio_data_import-0.2.
|
|
9
|
-
folio_data_import-0.2.
|
|
10
|
-
folio_data_import-0.2.
|
|
11
|
-
folio_data_import-0.2.
|
|
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,,
|
|
File without changes
|
|
File without changes
|
{folio_data_import-0.2.8rc1.dist-info → folio_data_import-0.2.8rc2.dist-info}/entry_points.txt
RENAMED
|
File without changes
|