Skip to content

Commit 5025245

Browse files
committed
Remove unnecessary string coercions
1 parent d802104 commit 5025245

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/folio_migration_tools/mapper_base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -554,11 +554,11 @@ def base_string_for_folio_uuid(self):
554554
self.library_configuration.use_gateway_url_for_uuids
555555
and not self.library_configuration.is_ecs
556556
):
557-
return str(self.folio_client.gateway_url)
557+
return self.folio_client.gateway_url
558558
elif self.library_configuration.ecs_tenant_id:
559-
return str(self.library_configuration.ecs_tenant_id)
559+
return self.library_configuration.ecs_tenant_id
560560
else:
561-
return str(self.library_configuration.tenant_id)
561+
return self.library_configuration.tenant_id
562562

563563
@staticmethod
564564
def validate_location_map(location_map: List[Dict], locations: List[Dict]) -> List[Dict]:

0 commit comments

Comments
 (0)