Skip to content

Commit

Permalink
CodeGen from PR 27614 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge e64e7d8334fac5ceea4e179fc62105769081846d into 6fc313ed7a6e926d4409d4ddb435f6532922652f
  • Loading branch information
SDKAuto committed Mar 28, 2024
1 parent b605d0a commit 50ec308
Show file tree
Hide file tree
Showing 13 changed files with 12,068 additions and 3,182 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"commit": "bad3ac2836bf066db2cadf920ba37124d0809d1a",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/ai/HealthInsights/HealthInsights.RadiologyInsights",
"@azure-tools/typespec-python": "0.22.5",
"@autorest/python": "6.13.8"
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ class RadiologyInsightsClient(
:type endpoint: str
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.AzureKeyCredential
:keyword api_version: The API version to use for this operation. Default value is
"2023-09-01-preview". Note that overriding this default value may result in unsupported
behavior.
:keyword api_version: The API version to use for this operation. Default value is "2024-04-01".
Note that overriding this default value may result in unsupported behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Retry-After header is present.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,13 @@ class RadiologyInsightsClientConfiguration: # pylint: disable=too-many-instance
:type endpoint: str
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.AzureKeyCredential
:keyword api_version: The API version to use for this operation. Default value is
"2023-09-01-preview". Note that overriding this default value may result in unsupported
behavior.
:keyword api_version: The API version to use for this operation. Default value is "2024-04-01".
Note that overriding this default value may result in unsupported behavior.
:paramtype api_version: str
"""

def __init__(self, endpoint: str, credential: AzureKeyCredential, **kwargs: Any) -> None:
api_version: str = kwargs.pop("api_version", "2023-09-01-preview")
api_version: str = kwargs.pop("api_version", "2024-04-01")

if endpoint is None:
raise ValueError("Parameter 'endpoint' must not be None.")
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "1.0.0b2"
VERSION = "1.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ class RadiologyInsightsClient(
:type endpoint: str
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.AzureKeyCredential
:keyword api_version: The API version to use for this operation. Default value is
"2023-09-01-preview". Note that overriding this default value may result in unsupported
behavior.
:keyword api_version: The API version to use for this operation. Default value is "2024-04-01".
Note that overriding this default value may result in unsupported behavior.
:paramtype api_version: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Retry-After header is present.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,13 @@ class RadiologyInsightsClientConfiguration: # pylint: disable=too-many-instance
:type endpoint: str
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.AzureKeyCredential
:keyword api_version: The API version to use for this operation. Default value is
"2023-09-01-preview". Note that overriding this default value may result in unsupported
behavior.
:keyword api_version: The API version to use for this operation. Default value is "2024-04-01".
Note that overriding this default value may result in unsupported behavior.
:paramtype api_version: str
"""

def __init__(self, endpoint: str, credential: AzureKeyCredential, **kwargs: Any) -> None:
api_version: str = kwargs.pop("api_version", "2023-09-01-preview")
api_version: str = kwargs.pop("api_version", "2024-04-01")

if endpoint is None:
raise ValueError("Parameter 'endpoint' must not be None.")
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
from ._models import DocumentContent
from ._models import DomainResource
from ._models import Element
from ._models import Encounter
from ._models import Error
from ._models import Extension
from ._models import FindingInference
Expand All @@ -31,7 +30,8 @@
from ._models import FollowupRecommendationInference
from ._models import FollowupRecommendationOptions
from ._models import GenericProcedureRecommendation
from ._models import HealthInsightsOperationStatus
from ._models import HealthInsightsErrorResponse
from ._models import HealthInsightsErrorResponseRequestId
from ._models import Identifier
from ._models import ImagingProcedure
from ._models import ImagingProcedureRecommendation
Expand All @@ -46,6 +46,7 @@
from ._models import OrderedProcedure
from ._models import PatientDetails
from ._models import PatientDocument
from ._models import PatientEncounter
from ._models import PatientRecord
from ._models import Period
from ._models import ProcedureRecommendation
Expand All @@ -55,14 +56,15 @@
from ._models import RadiologyInsightsInference
from ._models import RadiologyInsightsInferenceOptions
from ._models import RadiologyInsightsInferenceResult
from ._models import RadiologyInsightsJob
from ._models import RadiologyInsightsModelConfiguration
from ._models import RadiologyInsightsPatientResult
from ._models import RadiologyInsightsResult
from ._models import RadiologyProcedureInference
from ._models import Range
from ._models import Ratio
from ._models import RecommendationFinding
from ._models import Reference
from ._models import RequestIdResponseHeader
from ._models import ResearchStudy
from ._models import ResearchStudyArm
from ._models import ResearchStudyObjective
Expand All @@ -84,7 +86,6 @@
from ._enums import PatientSex
from ._enums import RadiologyInsightsInferenceType
from ._enums import RecommendationFindingStatusType
from ._enums import RepeatabilityResult
from ._enums import ResearchStudyStatusCodeType
from ._enums import SpecialtyType
from ._patch import __all__ as _patch_all
Expand All @@ -108,7 +109,6 @@
"DocumentContent",
"DomainResource",
"Element",
"Encounter",
"Error",
"Extension",
"FindingInference",
Expand All @@ -117,7 +117,8 @@
"FollowupRecommendationInference",
"FollowupRecommendationOptions",
"GenericProcedureRecommendation",
"HealthInsightsOperationStatus",
"HealthInsightsErrorResponse",
"HealthInsightsErrorResponseRequestId",
"Identifier",
"ImagingProcedure",
"ImagingProcedureRecommendation",
Expand All @@ -132,6 +133,7 @@
"OrderedProcedure",
"PatientDetails",
"PatientDocument",
"PatientEncounter",
"PatientRecord",
"Period",
"ProcedureRecommendation",
Expand All @@ -141,14 +143,15 @@
"RadiologyInsightsInference",
"RadiologyInsightsInferenceOptions",
"RadiologyInsightsInferenceResult",
"RadiologyInsightsJob",
"RadiologyInsightsModelConfiguration",
"RadiologyInsightsPatientResult",
"RadiologyInsightsResult",
"RadiologyProcedureInference",
"Range",
"Ratio",
"RecommendationFinding",
"Reference",
"RequestIdResponseHeader",
"ResearchStudy",
"ResearchStudyArm",
"ResearchStudyObjective",
Expand All @@ -169,7 +172,6 @@
"PatientSex",
"RadiologyInsightsInferenceType",
"RecommendationFindingStatusType",
"RepeatabilityResult",
"ResearchStudyStatusCodeType",
"SpecialtyType",
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,19 +223,6 @@ class RecommendationFindingStatusType(str, Enum, metaclass=CaseInsensitiveEnumMe
"""Conditional finding status"""


class RepeatabilityResult(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Repeatability Result header options."""

ACCEPTED = "accepted"
"""If the request was accepted and the server guarantees that the server state reflects a single
execution of the operation."""
REJECTED = "rejected"
"""If the request was rejected because the combination of Repeatability-First-Sent and
Repeatability-Request-ID were invalid
or because the Repeatability-First-Sent value was outside the range of values held by the
server."""


class ResearchStudyStatusCodeType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""https://www.hl7.org/fhir/R4/codesystem-research-study-status.html."""

Expand Down
Loading

0 comments on commit 50ec308

Please sign in to comment.