@@ -23,7 +23,7 @@ def _get_license_type_name(compact: str, license_type_abbreviation: str) -> str:
23
23
return LicenseUtility .get_license_type_by_abbreviation (compact , license_type_abbreviation ).name
24
24
25
25
26
- def _get_provider_records_and_validate (compact : str , provider_id : str ) -> tuple [ProviderUserRecords , ProviderData ]:
26
+ def _get_provider_records (compact : str , provider_id : str ) -> tuple [ProviderUserRecords , ProviderData ]:
27
27
"""
28
28
Retrieve and validate provider records for notification processing.
29
29
@@ -326,7 +326,7 @@ def privilege_encumbrance_notification_listener(message: dict):
326
326
license_type_name = _get_license_type_name (compact , license_type_abbreviation )
327
327
328
328
# Get provider records to gather notification targets and provider information
329
- provider_records , provider_record = _get_provider_records_and_validate (compact , provider_id )
329
+ provider_records , provider_record = _get_provider_records (compact , provider_id )
330
330
331
331
# Provider Notification
332
332
_send_provider_notification (
@@ -401,7 +401,7 @@ def privilege_encumbrance_lifting_notification_listener(message: dict):
401
401
license_type_name = _get_license_type_name (compact , license_type_abbreviation )
402
402
403
403
# Get provider records to gather notification targets and provider information
404
- provider_records , provider_record = _get_provider_records_and_validate (compact , provider_id )
404
+ provider_records , provider_record = _get_provider_records (compact , provider_id )
405
405
406
406
# Provider Notification
407
407
_send_provider_notification (
@@ -476,7 +476,7 @@ def license_encumbrance_notification_listener(message: dict):
476
476
license_type_name = _get_license_type_name (compact , license_type_abbreviation )
477
477
478
478
# Get provider records to gather notification targets and provider information
479
- provider_records , provider_record = _get_provider_records_and_validate (compact , provider_id )
479
+ provider_records , provider_record = _get_provider_records (compact , provider_id )
480
480
481
481
# Provider Notification
482
482
_send_provider_notification (
@@ -551,7 +551,7 @@ def license_encumbrance_lifting_notification_listener(message: dict):
551
551
license_type_name = _get_license_type_name (compact , license_type_abbreviation )
552
552
553
553
# Get provider records to gather notification targets and provider information
554
- provider_records , provider_record = _get_provider_records_and_validate (compact , provider_id )
554
+ provider_records , provider_record = _get_provider_records (compact , provider_id )
555
555
556
556
# Provider Notification
557
557
_send_provider_notification (
0 commit comments