diff --git a/abdm/api/consent_flow_api.py b/abdm/api/consent_flow_api.py index 374420c..8aee91f 100644 --- a/abdm/api/consent_flow_api.py +++ b/abdm/api/consent_flow_api.py @@ -11,13 +11,10 @@ Do not edit the class manually. """ # noqa: E501 -import warnings from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictStr -from typing_extensions import Annotated from abdm.models.consent_artefact_response import ConsentArtefactResponse from abdm.models.consent_request_init_response import ConsentRequestInitResponse from abdm.models.hiu_consent_notification_event import HIUConsentNotificationEvent diff --git a/abdm/api/data_flow_api.py b/abdm/api/data_flow_api.py index e56f5ea..6e98226 100644 --- a/abdm/api/data_flow_api.py +++ b/abdm/api/data_flow_api.py @@ -11,13 +11,10 @@ Do not edit the class manually. """ # noqa: E501 -import warnings from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictStr -from typing_extensions import Annotated from abdm.models.data_notification import DataNotification from abdm.models.hiu_health_information_request_response import ( HIUHealthInformationRequestResponse, diff --git a/abdm/api/gateway_api.py b/abdm/api/gateway_api.py index 1a46ee8..b6d2273 100644 --- a/abdm/api/gateway_api.py +++ b/abdm/api/gateway_api.py @@ -11,13 +11,10 @@ Do not edit the class manually. """ # noqa: E501 -import warnings from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictStr -from typing_extensions import Annotated from abdm.models.certs import Certs from abdm.models.consent_fetch_request import ConsentFetchRequest from abdm.models.consent_request import ConsentRequest diff --git a/abdm/api/identification_api.py b/abdm/api/identification_api.py index 15c1ccd..edab81a 100644 --- a/abdm/api/identification_api.py +++ b/abdm/api/identification_api.py @@ -11,13 +11,10 @@ Do not edit the class manually. """ # noqa: E501 -import warnings from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictStr -from typing_extensions import Annotated from abdm.models.patient_identification_response import PatientIdentificationResponse from abdm.api_client import ApiClient, RequestSerialized diff --git a/abdm/api/monitoring_api.py b/abdm/api/monitoring_api.py index 00706ba..019a6c9 100644 --- a/abdm/api/monitoring_api.py +++ b/abdm/api/monitoring_api.py @@ -11,7 +11,6 @@ Do not edit the class manually. """ # noqa: E501 -import warnings from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated diff --git a/abdm/api/patient_notification_api.py b/abdm/api/patient_notification_api.py index 3583046..c79c334 100644 --- a/abdm/api/patient_notification_api.py +++ b/abdm/api/patient_notification_api.py @@ -11,13 +11,10 @@ Do not edit the class manually. """ # noqa: E501 -import warnings from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictStr -from typing_extensions import Annotated from abdm.models.hiu_patient_status_notification import HiuPatientStatusNotification from abdm.models.patient_status_notification import PatientStatusNotification diff --git a/abdm/api/subscriptions_api.py b/abdm/api/subscriptions_api.py index 3386e57..49b0944 100644 --- a/abdm/api/subscriptions_api.py +++ b/abdm/api/subscriptions_api.py @@ -11,13 +11,10 @@ Do not edit the class manually. """ # noqa: E501 -import warnings from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictStr -from typing_extensions import Annotated from abdm.models.hiu_subscription_notification import HIUSubscriptionNotification from abdm.models.hiu_subscription_request_receipt import HIUSubscriptionRequestReceipt from abdm.models.subscription_approval_notification import ( diff --git a/abdm/api/user_auth_api.py b/abdm/api/user_auth_api.py index b7ab346..074be94 100644 --- a/abdm/api/user_auth_api.py +++ b/abdm/api/user_auth_api.py @@ -11,13 +11,10 @@ Do not edit the class manually. """ # noqa: E501 -import warnings from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictStr -from typing_extensions import Annotated from abdm.models.patient_auth_confirm_response import PatientAuthConfirmResponse from abdm.models.patient_auth_init_response import PatientAuthInitResponse from abdm.models.patient_auth_mode_query_response import PatientAuthModeQueryResponse diff --git a/abdm/api_client.py b/abdm/api_client.py index e0f7bef..54371dc 100644 --- a/abdm/api_client.py +++ b/abdm/api_client.py @@ -31,11 +31,6 @@ from abdm.exceptions import ( ApiValueError, ApiException, - BadRequestException, - UnauthorizedException, - ForbiddenException, - NotFoundException, - ServiceException, ) RequestSerialized = Tuple[str, str, Dict[str, str], Optional[str], List[str]] diff --git a/abdm/models/auth_meta.py b/abdm/models/auth_meta.py index 8e4b83a..44e03ea 100644 --- a/abdm/models/auth_meta.py +++ b/abdm/models/auth_meta.py @@ -18,7 +18,7 @@ from pydantic import BaseModel, ConfigDict, StrictStr from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/certificate_or_key_get_schema.py b/abdm/models/certificate_or_key_get_schema.py index b133f28..0f91016 100644 --- a/abdm/models/certificate_or_key_get_schema.py +++ b/abdm/models/certificate_or_key_get_schema.py @@ -18,7 +18,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/certs.py b/abdm/models/certs.py index 1f4c524..46a9a7c 100644 --- a/abdm/models/certs.py +++ b/abdm/models/certs.py @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional from abdm.models.certificate_or_key_get_schema import CertificateOrKeyGetSchema -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/consent_artefact_response.py b/abdm/models/consent_artefact_response.py index 7bdd8d4..dabfa31 100644 --- a/abdm/models/consent_artefact_response.py +++ b/abdm/models/consent_artefact_response.py @@ -22,7 +22,7 @@ from abdm.models.consent_artefact_response_consent import ConsentArtefactResponseConsent from abdm.models.error import Error from abdm.models.request_reference import RequestReference -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/consent_artefact_response_consent_consent_detail.py b/abdm/models/consent_artefact_response_consent_consent_detail.py index 3b999e7..3a7f173 100644 --- a/abdm/models/consent_artefact_response_consent_consent_detail.py +++ b/abdm/models/consent_artefact_response_consent_consent_detail.py @@ -36,7 +36,7 @@ from abdm.models.permission import Permission from abdm.models.requester import Requester from abdm.models.use_purpose import UsePurpose -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/consent_request_consent.py b/abdm/models/consent_request_consent.py index 20dc3f0..8ec4907 100644 --- a/abdm/models/consent_request_consent.py +++ b/abdm/models/consent_request_consent.py @@ -30,7 +30,7 @@ from abdm.models.permission import Permission from abdm.models.requester import Requester from abdm.models.use_purpose import UsePurpose -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/consent_request_init_response.py b/abdm/models/consent_request_init_response.py index 775d574..81e026d 100644 --- a/abdm/models/consent_request_init_response.py +++ b/abdm/models/consent_request_init_response.py @@ -24,7 +24,7 @@ ) from abdm.models.error import Error from abdm.models.request_reference import RequestReference -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/data_notification_entries_inner.py b/abdm/models/data_notification_entries_inner.py index fd2487a..2a4a745 100644 --- a/abdm/models/data_notification_entries_inner.py +++ b/abdm/models/data_notification_entries_inner.py @@ -12,24 +12,19 @@ """ # noqa: E501 from __future__ import annotations -from inspect import getfullargspec import json import pprint import re # noqa: F401 from pydantic import ( BaseModel, - ConfigDict, - Field, - StrictStr, ValidationError, field_validator, ) from typing import Optional from abdm.models.entry_content import EntryContent from abdm.models.entry_link import EntryLink -from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict -from typing_extensions import Literal, Self -from pydantic import Field +from typing import Union, Any, Set, TYPE_CHECKING, Dict +from typing_extensions import Self DATANOTIFICATIONENTRIESINNER_ANY_OF_SCHEMAS = ["EntryContent", "EntryLink"] diff --git a/abdm/models/error_response.py b/abdm/models/error_response.py index ade22fd..5f6ac4f 100644 --- a/abdm/models/error_response.py +++ b/abdm/models/error_response.py @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List, Optional from abdm.models.error import Error -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/health_information_notification_notification_status_notification.py b/abdm/models/health_information_notification_notification_status_notification.py index 55ef5e0..adc5800 100644 --- a/abdm/models/health_information_notification_notification_status_notification.py +++ b/abdm/models/health_information_notification_notification_status_notification.py @@ -21,7 +21,7 @@ from abdm.models.health_information_notification_notification_status_notification_status_responses_inner import ( HealthInformationNotificationNotificationStatusNotificationStatusResponsesInner, ) -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/health_information_notification_notification_status_notification_status_responses_inner.py b/abdm/models/health_information_notification_notification_status_notification_status_responses_inner.py index ecfe14e..3960d48 100644 --- a/abdm/models/health_information_notification_notification_status_notification_status_responses_inner.py +++ b/abdm/models/health_information_notification_notification_status_notification_status_responses_inner.py @@ -18,7 +18,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/heartbeat_response.py b/abdm/models/heartbeat_response.py index 812ed23..e42d9a5 100644 --- a/abdm/models/heartbeat_response.py +++ b/abdm/models/heartbeat_response.py @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from abdm.models.error import Error -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/hiu_consent_notification_event_notification.py b/abdm/models/hiu_consent_notification_event_notification.py index d390fc7..efd54cc 100644 --- a/abdm/models/hiu_consent_notification_event_notification.py +++ b/abdm/models/hiu_consent_notification_event_notification.py @@ -20,7 +20,7 @@ from typing import Any, ClassVar, Dict, List, Optional from abdm.models.consent_artefact_reference import ConsentArtefactReference from abdm.models.consent_status import ConsentStatus -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/hiu_consent_notification_response.py b/abdm/models/hiu_consent_notification_response.py index 1324a07..988f016 100644 --- a/abdm/models/hiu_consent_notification_response.py +++ b/abdm/models/hiu_consent_notification_response.py @@ -22,7 +22,7 @@ from abdm.models.consent_acknowledgement import ConsentAcknowledgement from abdm.models.error import Error from abdm.models.request_reference import RequestReference -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/hiu_consent_request_status.py b/abdm/models/hiu_consent_request_status.py index b6c1268..ab27e89 100644 --- a/abdm/models/hiu_consent_request_status.py +++ b/abdm/models/hiu_consent_request_status.py @@ -24,7 +24,7 @@ HIUConsentRequestStatusConsentRequest, ) from abdm.models.request_reference import RequestReference -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/hiu_health_information_request_response.py b/abdm/models/hiu_health_information_request_response.py index ad36ce6..852f81d 100644 --- a/abdm/models/hiu_health_information_request_response.py +++ b/abdm/models/hiu_health_information_request_response.py @@ -24,7 +24,7 @@ HIUHealthInformationRequestResponseHiRequest, ) from abdm.models.request_reference import RequestReference -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/hiu_subscription_context.py b/abdm/models/hiu_subscription_context.py index f48b3b8..2e7970a 100644 --- a/abdm/models/hiu_subscription_context.py +++ b/abdm/models/hiu_subscription_context.py @@ -21,7 +21,7 @@ from abdm.models.organization_representation import OrganizationRepresentation from abdm.models.subscription_category import SubscriptionCategory from abdm.models.subscription_period import SubscriptionPeriod -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/hiu_subscription_notification_acknowledgment.py b/abdm/models/hiu_subscription_notification_acknowledgment.py index a34a729..9660c67 100644 --- a/abdm/models/hiu_subscription_notification_acknowledgment.py +++ b/abdm/models/hiu_subscription_notification_acknowledgment.py @@ -24,7 +24,7 @@ HIUSubscriptionNotificationAcknowledgmentAcknowledgement, ) from abdm.models.request_reference import RequestReference -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/hiu_subscription_request_notification_acknowledgement.py b/abdm/models/hiu_subscription_request_notification_acknowledgement.py index ae469e7..6b0554e 100644 --- a/abdm/models/hiu_subscription_request_notification_acknowledgement.py +++ b/abdm/models/hiu_subscription_request_notification_acknowledgement.py @@ -24,7 +24,7 @@ HIUSubscriptionRequestNotificationAcknowledgementAcknowledgement, ) from abdm.models.request_reference import RequestReference -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/hiu_subscription_request_receipt.py b/abdm/models/hiu_subscription_request_receipt.py index 626774c..62a8121 100644 --- a/abdm/models/hiu_subscription_request_receipt.py +++ b/abdm/models/hiu_subscription_request_receipt.py @@ -24,7 +24,7 @@ ) from abdm.models.error import Error from abdm.models.request_reference import RequestReference -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/identifier.py b/abdm/models/identifier.py index 5056388..f374061 100644 --- a/abdm/models/identifier.py +++ b/abdm/models/identifier.py @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, StrictStr from typing import Any, ClassVar, Dict, List, Optional from abdm.models.identifier_type import IdentifierType -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/open_id_configuration.py b/abdm/models/open_id_configuration.py index e11eac5..5172c25 100644 --- a/abdm/models/open_id_configuration.py +++ b/abdm/models/open_id_configuration.py @@ -18,7 +18,7 @@ from pydantic import BaseModel, ConfigDict, StrictStr from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/patient_address.py b/abdm/models/patient_address.py index bc21a86..c3a6b90 100644 --- a/abdm/models/patient_address.py +++ b/abdm/models/patient_address.py @@ -18,7 +18,7 @@ from pydantic import BaseModel, ConfigDict, StrictStr from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/patient_auth_confirm_request_credential.py b/abdm/models/patient_auth_confirm_request_credential.py index 59f77fa..c3bfef1 100644 --- a/abdm/models/patient_auth_confirm_request_credential.py +++ b/abdm/models/patient_auth_confirm_request_credential.py @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional from abdm.models.patient_demographic import PatientDemographic -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/patient_auth_confirm_response.py b/abdm/models/patient_auth_confirm_response.py index 63ccf7e..6c70bc6 100644 --- a/abdm/models/patient_auth_confirm_response.py +++ b/abdm/models/patient_auth_confirm_response.py @@ -24,7 +24,7 @@ PatientAuthConfirmResponseAuth, ) from abdm.models.request_reference import RequestReference -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/patient_auth_confirm_response_auth.py b/abdm/models/patient_auth_confirm_response_auth.py index 82374f5..9181a34 100644 --- a/abdm/models/patient_auth_confirm_response_auth.py +++ b/abdm/models/patient_auth_confirm_response_auth.py @@ -20,7 +20,7 @@ from typing import Any, ClassVar, Dict, List, Optional from abdm.models.access_token_validity import AccessTokenValidity from abdm.models.patient_demographic_response import PatientDemographicResponse -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/patient_auth_init_request_query.py b/abdm/models/patient_auth_init_request_query.py index dc36ada..901d61a 100644 --- a/abdm/models/patient_auth_init_request_query.py +++ b/abdm/models/patient_auth_init_request_query.py @@ -23,7 +23,7 @@ PatientAuthInitRequestQueryRequester, ) from abdm.models.patient_auth_purpose import PatientAuthPurpose -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/patient_auth_init_response.py b/abdm/models/patient_auth_init_response.py index b2aa13a..066f5b3 100644 --- a/abdm/models/patient_auth_init_response.py +++ b/abdm/models/patient_auth_init_response.py @@ -22,7 +22,7 @@ from abdm.models.error import Error from abdm.models.patient_auth_init_response_auth import PatientAuthInitResponseAuth from abdm.models.request_reference import RequestReference -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/patient_auth_init_response_auth.py b/abdm/models/patient_auth_init_response_auth.py index e6b9c3a..732c734 100644 --- a/abdm/models/patient_auth_init_response_auth.py +++ b/abdm/models/patient_auth_init_response_auth.py @@ -20,7 +20,7 @@ from typing import Any, ClassVar, Dict, List, Optional from abdm.models.auth_meta import AuthMeta from abdm.models.authentication_mode import AuthenticationMode -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/patient_auth_mode_query_response.py b/abdm/models/patient_auth_mode_query_response.py index 95bbf0c..acb7bc8 100644 --- a/abdm/models/patient_auth_mode_query_response.py +++ b/abdm/models/patient_auth_mode_query_response.py @@ -24,7 +24,7 @@ PatientAuthModeQueryResponseAuth, ) from abdm.models.request_reference import RequestReference -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/patient_auth_notification.py b/abdm/models/patient_auth_notification.py index 889a981..5251475 100644 --- a/abdm/models/patient_auth_notification.py +++ b/abdm/models/patient_auth_notification.py @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional from abdm.models.patient_auth_notification_auth import PatientAuthNotificationAuth -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/patient_auth_notification_acknowledgement.py b/abdm/models/patient_auth_notification_acknowledgement.py index 6f1350c..659edc1 100644 --- a/abdm/models/patient_auth_notification_acknowledgement.py +++ b/abdm/models/patient_auth_notification_acknowledgement.py @@ -24,7 +24,7 @@ PatientAuthNotificationAcknowledgementAcknowledgement, ) from abdm.models.request_reference import RequestReference -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/patient_auth_notification_auth.py b/abdm/models/patient_auth_notification_auth.py index 987876f..94c4b39 100644 --- a/abdm/models/patient_auth_notification_auth.py +++ b/abdm/models/patient_auth_notification_auth.py @@ -20,7 +20,7 @@ from typing import Any, ClassVar, Dict, List, Optional from abdm.models.access_token_validity import AccessTokenValidity from abdm.models.patient_demographic_response import PatientDemographicResponse -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/patient_demographic.py b/abdm/models/patient_demographic.py index 421d36d..eb7c8e4 100644 --- a/abdm/models/patient_demographic.py +++ b/abdm/models/patient_demographic.py @@ -20,7 +20,7 @@ from typing import Any, ClassVar, Dict, List, Optional from abdm.models.auth_confirm_identifier import AuthConfirmIdentifier from abdm.models.patient_gender import PatientGender -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/patient_demographic_response.py b/abdm/models/patient_demographic_response.py index 359d6d6..2b09b44 100644 --- a/abdm/models/patient_demographic_response.py +++ b/abdm/models/patient_demographic_response.py @@ -21,7 +21,7 @@ from abdm.models.identifier import Identifier from abdm.models.patient_address import PatientAddress from abdm.models.patient_gender import PatientGender -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/patient_identification_response.py b/abdm/models/patient_identification_response.py index 2b0bbb0..9136d39 100644 --- a/abdm/models/patient_identification_response.py +++ b/abdm/models/patient_identification_response.py @@ -24,7 +24,7 @@ PatientIdentificationResponsePatient, ) from abdm.models.request_reference import RequestReference -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/patient_status_notification.py b/abdm/models/patient_status_notification.py index 33f9d41..dbbdafa 100644 --- a/abdm/models/patient_status_notification.py +++ b/abdm/models/patient_status_notification.py @@ -24,7 +24,7 @@ PatientAuthNotificationAcknowledgementAcknowledgement, ) from abdm.models.request_reference import RequestReference -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/requester.py b/abdm/models/requester.py index eea2cf8..e5b60b9 100644 --- a/abdm/models/requester.py +++ b/abdm/models/requester.py @@ -19,7 +19,7 @@ from pydantic import BaseModel, ConfigDict, StrictStr from typing import Any, ClassVar, Dict, List, Optional from abdm.models.requester_identifier import RequesterIdentifier -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/requester_identifier.py b/abdm/models/requester_identifier.py index d8f08c7..cb841ad 100644 --- a/abdm/models/requester_identifier.py +++ b/abdm/models/requester_identifier.py @@ -18,7 +18,7 @@ from pydantic import BaseModel, ConfigDict, StrictStr from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/session_response.py b/abdm/models/session_response.py index 313c1f1..66f1f3f 100644 --- a/abdm/models/session_response.py +++ b/abdm/models/session_response.py @@ -18,7 +18,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/subscription_approval_notification_notification.py b/abdm/models/subscription_approval_notification_notification.py index 1bfef6a..d26b75f 100644 --- a/abdm/models/subscription_approval_notification_notification.py +++ b/abdm/models/subscription_approval_notification_notification.py @@ -20,7 +20,7 @@ from typing import Any, ClassVar, Dict, List, Optional from abdm.models.hiu_subscription import HIUSubscription from abdm.models.subscription_status import SubscriptionStatus -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/subscription_request_subscription.py b/abdm/models/subscription_request_subscription.py index 94c1aa1..4848955 100644 --- a/abdm/models/subscription_request_subscription.py +++ b/abdm/models/subscription_request_subscription.py @@ -23,7 +23,7 @@ from abdm.models.subscription_category import SubscriptionCategory from abdm.models.subscription_period import SubscriptionPeriod from abdm.models.use_purpose import UsePurpose -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/abdm/models/use_purpose.py b/abdm/models/use_purpose.py index e00a8c7..41b439e 100644 --- a/abdm/models/use_purpose.py +++ b/abdm/models/use_purpose.py @@ -18,7 +18,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set +from typing import Set from typing_extensions import Self diff --git a/test/test_auth_confirm_identifier_type.py b/test/test_auth_confirm_identifier_type.py index 1191d6b..360a050 100644 --- a/test/test_auth_confirm_identifier_type.py +++ b/test/test_auth_confirm_identifier_type.py @@ -13,7 +13,6 @@ import unittest -from abdm.models.auth_confirm_identifier_type import AuthConfirmIdentifierType class TestAuthConfirmIdentifierType(unittest.TestCase): diff --git a/test/test_authentication_mode.py b/test/test_authentication_mode.py index fcafd0b..4951e26 100644 --- a/test/test_authentication_mode.py +++ b/test/test_authentication_mode.py @@ -13,7 +13,6 @@ import unittest -from abdm.models.authentication_mode import AuthenticationMode class TestAuthenticationMode(unittest.TestCase): diff --git a/test/test_consent_status.py b/test/test_consent_status.py index b70a2c3..b74bd95 100644 --- a/test/test_consent_status.py +++ b/test/test_consent_status.py @@ -13,7 +13,6 @@ import unittest -from abdm.models.consent_status import ConsentStatus class TestConsentStatus(unittest.TestCase): diff --git a/test/test_hi_type_enum.py b/test/test_hi_type_enum.py index 3096572..22c1837 100644 --- a/test/test_hi_type_enum.py +++ b/test/test_hi_type_enum.py @@ -13,7 +13,6 @@ import unittest -from abdm.models.hi_type_enum import HITypeEnum class TestHITypeEnum(unittest.TestCase): diff --git a/test/test_identifier_type.py b/test/test_identifier_type.py index 6b11f3a..e8a1cfe 100644 --- a/test/test_identifier_type.py +++ b/test/test_identifier_type.py @@ -13,7 +13,6 @@ import unittest -from abdm.models.identifier_type import IdentifierType class TestIdentifierType(unittest.TestCase): diff --git a/test/test_patient_auth_purpose.py b/test/test_patient_auth_purpose.py index ce66d16..4f2da70 100644 --- a/test/test_patient_auth_purpose.py +++ b/test/test_patient_auth_purpose.py @@ -13,7 +13,6 @@ import unittest -from abdm.models.patient_auth_purpose import PatientAuthPurpose class TestPatientAuthPurpose(unittest.TestCase): diff --git a/test/test_patient_gender.py b/test/test_patient_gender.py index 0cb4da5..aa94014 100644 --- a/test/test_patient_gender.py +++ b/test/test_patient_gender.py @@ -13,7 +13,6 @@ import unittest -from abdm.models.patient_gender import PatientGender class TestPatientGender(unittest.TestCase): diff --git a/test/test_subscription_category.py b/test/test_subscription_category.py index 8ca591b..29af8fd 100644 --- a/test/test_subscription_category.py +++ b/test/test_subscription_category.py @@ -13,7 +13,6 @@ import unittest -from abdm.models.subscription_category import SubscriptionCategory class TestSubscriptionCategory(unittest.TestCase): diff --git a/test/test_subscription_status.py b/test/test_subscription_status.py index cd87bb1..f5014c5 100644 --- a/test/test_subscription_status.py +++ b/test/test_subscription_status.py @@ -13,7 +13,6 @@ import unittest -from abdm.models.subscription_status import SubscriptionStatus class TestSubscriptionStatus(unittest.TestCase):