Skip to content

Commit

Permalink
ruff --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditya-Kumar-Code committed Apr 25, 2024
1 parent 12e4723 commit c820815
Show file tree
Hide file tree
Showing 61 changed files with 44 additions and 87 deletions.
3 changes: 0 additions & 3 deletions abdm/abdm/api/consent_flow_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_model import ConsentArtefactResponseModel
from abdm.models.consent_request_init_response_model import (
ConsentRequestInitResponseModel,
Expand Down
3 changes: 0 additions & 3 deletions abdm/abdm/api/data_flow_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_model import DataNotificationModel
from abdm.models.hiu_health_information_request_response_model import (
HIUHealthInformationRequestResponseModel,
Expand Down
3 changes: 0 additions & 3 deletions abdm/abdm/api/gateway_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_model_model import CertsModelModel
from abdm.models.consent_fetch_request_model import ConsentFetchRequestModel
from abdm.models.consent_request_model import ConsentRequestModel
Expand Down
3 changes: 0 additions & 3 deletions abdm/abdm/api/identification_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_model import (
PatientIdentificationResponseModel,
)
Expand Down
1 change: 0 additions & 1 deletion abdm/abdm/api/monitoring_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions abdm/abdm/api/patient_notification_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_model import (
HiuPatientStatusNotificationModel,
)
Expand Down
3 changes: 0 additions & 3 deletions abdm/abdm/api/subscriptions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_model import (
HIUSubscriptionNotificationModel,
)
Expand Down
3 changes: 0 additions & 3 deletions abdm/abdm/api/user_auth_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_model import (
PatientAuthConfirmResponseModel,
)
Expand Down
2 changes: 1 addition & 1 deletion abdm/abdm/model/auth_meta_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 1 addition & 1 deletion abdm/abdm/model/certificate_or_key_get_schema_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 1 addition & 1 deletion abdm/abdm/model/certs_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from pydantic import BaseModel, ConfigDict
from typing import Any, ClassVar, Dict, List, Optional
from typing import Optional, Set
from typing import Set
from typing_extensions import Self


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from datetime import datetime
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


Expand Down
2 changes: 1 addition & 1 deletion abdm/abdm/model/consent_artefact_response_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from datetime import datetime
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


Expand Down
2 changes: 1 addition & 1 deletion abdm/abdm/model/consent_request_consent_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from pydantic import BaseModel, ConfigDict, Field
from typing import Any, ClassVar, Dict, List, Optional
from typing import Optional, Set
from typing import Set
from typing_extensions import Self


Expand Down
2 changes: 1 addition & 1 deletion abdm/abdm/model/consent_request_init_response_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from datetime import datetime
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


Expand Down
9 changes: 2 additions & 7 deletions abdm/abdm/model/data_notification_entries_inner_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,17 @@
""" # 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 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

DATANOTIFICATIONENTRIESINNERMODEL_ANY_OF_SCHEMAS = [
"EntryContentModel",
Expand Down
2 changes: 1 addition & 1 deletion abdm/abdm/model/error_response_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from pydantic import BaseModel, ConfigDict
from typing import Any, ClassVar, Dict, List, Optional
from typing import Optional, Set
from typing import Set
from typing_extensions import Self


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 1 addition & 1 deletion abdm/abdm/model/heartbeat_response_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from datetime import datetime
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


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 1 addition & 1 deletion abdm/abdm/model/hiu_consent_notification_response_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from datetime import datetime
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


Expand Down
2 changes: 1 addition & 1 deletion abdm/abdm/model/hiu_consent_request_status_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from datetime import datetime
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


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from datetime import datetime
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


Expand Down
2 changes: 1 addition & 1 deletion abdm/abdm/model/hiu_subscription_context_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from pydantic import BaseModel, ConfigDict
from typing import Any, ClassVar, Dict, List, Optional
from typing import Optional, Set
from typing import Set
from typing_extensions import Self


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from datetime import datetime
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


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from datetime import datetime
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


Expand Down
2 changes: 1 addition & 1 deletion abdm/abdm/model/hiu_subscription_request_receipt_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from datetime import datetime
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


Expand Down
2 changes: 1 addition & 1 deletion abdm/abdm/model/identifier_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 1 addition & 1 deletion abdm/abdm/model/open_id_configuration_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 1 addition & 1 deletion abdm/abdm/model/patient_address_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 1 addition & 1 deletion abdm/abdm/model/patient_auth_confirm_response_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from datetime import datetime
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


Expand Down
2 changes: 1 addition & 1 deletion abdm/abdm/model/patient_auth_init_request_query_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 1 addition & 1 deletion abdm/abdm/model/patient_auth_init_response_auth_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 1 addition & 1 deletion abdm/abdm/model/patient_auth_init_response_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from datetime import datetime
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


Expand Down
2 changes: 1 addition & 1 deletion abdm/abdm/model/patient_auth_mode_query_response_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from datetime import datetime
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


Expand Down
Loading

0 comments on commit c820815

Please sign in to comment.