Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/autorest.python/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"homepage": "https://github.com/Azure/autorest.python/blob/main/README.md",
"dependencies": {
"@typespec/http-client-python": "~0.12.0-dev.2",
"@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDgxMzU5My9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.11.2.tgz",
"@autorest/system-requirements": "~1.0.2",
"fs-extra": "~11.2.0",
"tsx": "~4.19.1"
Expand All @@ -47,4 +47,4 @@
"requirements.txt",
"generator/"
]
}
}
64 changes: 32 additions & 32 deletions packages/typespec-python/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,45 +45,45 @@
"generator/**"
],
"peerDependencies": {
"@typespec/compiler": "^1.0.0-rc.1",
"@typespec/http": "^1.0.0-rc.1",
"@typespec/rest": ">=0.69.0 <1.0.0",
"@typespec/versioning": ">=0.69.0 <1.0.0",
"@typespec/openapi": "^1.0.0-rc.1",
"@typespec/events": ">=0.69.0 <1.0.0",
"@typespec/sse": ">=0.69.0 <1.0.0",
"@typespec/streams": ">=0.69.0 <1.0.0",
"@typespec/xml": ">=0.69.0 <1.0.0",
"@azure-tools/typespec-azure-core": ">=0.55.0 <1.0.0",
"@azure-tools/typespec-azure-resource-manager": ">=0.55.0 <1.0.0",
"@azure-tools/typespec-autorest": ">=0.55.0 <1.0.0",
"@azure-tools/typespec-azure-rulesets": ">=0.55.0 <1.0.0",
"@azure-tools/typespec-client-generator-core": ">=0.55.0 <1.0.0"
"@typespec/compiler": "1.0.0-rc.2-dev.11",
"@typespec/http": "1.0.0-rc.2-dev.3",
"@typespec/rest": "0.70.0-dev.2",
"@typespec/versioning": "0.70.0-dev.1",
"@typespec/openapi": "1.0.0-rc.2-dev.1",
"@typespec/events": "0.70.0-dev.1",
"@typespec/sse": "0.70.0-dev.1",
"@typespec/streams": "0.70.0-dev.1",
"@typespec/xml": "0.70.0-dev.1",
"@azure-tools/typespec-azure-core": "0.56.0-dev.1",
"@azure-tools/typespec-azure-resource-manager": "0.56.0-dev.2",
"@azure-tools/typespec-autorest": "0.56.0-dev.3",
"@azure-tools/typespec-azure-rulesets": "0.56.0-dev.0",
"@azure-tools/typespec-client-generator-core": "0.56.0-dev.4"
},
"dependencies": {
"js-yaml": "~4.1.0",
"semver": "~7.6.2",
"tsx": "~4.19.1",
"@typespec/http-client-python": "~0.12.0-dev.2",
"@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDgxMzU5My9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.11.2.tgz",
"fs-extra": "~11.2.0"
},
"devDependencies": {
"@typespec/compiler": "^1.0.0-rc.1",
"@typespec/http": "^1.0.0-rc.1",
"@typespec/rest": "~0.69.0",
"@typespec/versioning": "~0.69.0",
"@typespec/openapi": "^1.0.0-rc.1",
"@typespec/events": "~0.69.0",
"@typespec/sse": "~0.69.0",
"@typespec/streams": "~0.69.0",
"@typespec/xml": "~0.69.0",
"@azure-tools/typespec-azure-resource-manager": "~0.55.0",
"@azure-tools/typespec-azure-core": "~0.55.0",
"@azure-tools/typespec-azure-rulesets": "~0.55.0",
"@azure-tools/typespec-autorest": "~0.55.0",
"@azure-tools/typespec-client-generator-core": "~0.55.0",
"@azure-tools/azure-http-specs": "0.1.0-alpha.15",
"@typespec/http-specs": "0.1.0-alpha.20",
"@typespec/compiler": "1.0.0-rc.2-dev.11",
"@typespec/http": "1.0.0-rc.2-dev.3",
"@typespec/rest": "0.70.0-dev.2",
"@typespec/versioning": "0.70.0-dev.1",
"@typespec/openapi": "1.0.0-rc.2-dev.1",
"@typespec/events": "0.70.0-dev.1",
"@typespec/sse": "0.70.0-dev.1",
"@typespec/streams": "0.70.0-dev.1",
"@typespec/xml": "0.70.0-dev.1",
"@azure-tools/typespec-azure-resource-manager": "0.56.0-dev.2",
"@azure-tools/typespec-azure-core": "0.56.0-dev.1",
"@azure-tools/typespec-azure-rulesets": "0.56.0-dev.0",
"@azure-tools/typespec-autorest": "0.56.0-dev.3",
"@azure-tools/typespec-client-generator-core": "0.56.0-dev.4",
"@azure-tools/azure-http-specs": "0.1.0-alpha.16-dev.3",
"@typespec/http-specs": "0.1.0-alpha.21-dev.3",
"@types/js-yaml": "~4.0.5",
"@types/node": "~22.13.14",
"@types/yargs": "~17.0.33",
Expand All @@ -97,4 +97,4 @@
"chalk": "5.3.0",
"@types/fs-extra": "11.0.4"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:


class Resource(_Model):
"""Common fields that are returned in the response for all Azure Resource Manager resources.
"""Resource.

:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
Expand Down Expand Up @@ -162,8 +162,7 @@ class Resource(_Model):


class TrackedResource(Resource):
"""The resource model definition for an Azure Resource Manager tracked top level resource which
has 'tags' and a 'location'.
"""Tracked Resource.

:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
Expand Down Expand Up @@ -333,8 +332,7 @@ class ErrorDetail(_Model):


class ErrorResponse(_Model):
"""Common error response for all Azure Resource Manager APIs to return error details for failed
operations.
"""Error response.

:ivar error: The error object.
:vartype error: ~azure.resourcemanager.commonproperties.models.ErrorDetail
Expand Down Expand Up @@ -584,13 +582,13 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
class UserAssignedIdentity(_Model):
"""User assigned identity properties.

:ivar client_id: The client ID of the assigned identity.
:vartype client_id: str
:ivar principal_id: The principal ID of the assigned identity.
:vartype principal_id: str
:ivar client_id: The client ID of the assigned identity.
:vartype client_id: str
"""

client_id: Optional[str] = rest_field(name="clientId", visibility=["read"])
"""The client ID of the assigned identity."""
principal_id: Optional[str] = rest_field(name="principalId", visibility=["read"])
"""The principal ID of the assigned identity."""
client_id: Optional[str] = rest_field(name="clientId", visibility=["read"])
"""The client ID of the assigned identity."""
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ class ErrorDetail(_Model):


class ErrorResponse(_Model):
"""Common error response for all Azure Resource Manager APIs to return error details for failed
operations.
"""Error response.

:ivar error: The error object.
:vartype error: ~azure.resourcemanager.nonresource.models.ErrorDetail
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ class ErrorDetail(_Model):


class ErrorResponse(_Model):
"""Common error response for all Azure Resource Manager APIs to return error details for failed
operations.
"""Error response.

:ivar error: The error object.
:vartype error: ~azure.resourcemanager.operationtemplates.models.ErrorDetail
Expand Down Expand Up @@ -226,7 +225,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:


class Operation(_Model):
"""Details of a REST API operation, returned from the Resource Provider Operations API.
"""REST API Operation.

:ivar name: The name of the operation, as per Resource-Based Access Control (RBAC). Examples:
"Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action".
Expand Down Expand Up @@ -314,7 +313,7 @@ class OperationDisplay(_Model):


class Resource(_Model):
"""Common fields that are returned in the response for all Azure Resource Manager resources.
"""Resource.

:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
Expand Down Expand Up @@ -342,8 +341,7 @@ class Resource(_Model):


class TrackedResource(Resource):
"""The resource model definition for an Azure Resource Manager tracked top level resource which
has 'tags' and a 'location'.
"""Tracked Resource.

:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ class ErrorDetail(_Model):


class ErrorResponse(_Model):
"""Common error response for all Azure Resource Manager APIs to return error details for failed
operations.
"""Error response.

:ivar error: The error object.
:vartype error: ~azure.resourcemanager.resources.models.ErrorDetail
Expand Down Expand Up @@ -91,7 +90,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:


class Resource(_Model):
"""Common fields that are returned in the response for all Azure Resource Manager resources.
"""Resource.

:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
Expand Down Expand Up @@ -214,8 +213,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:


class ProxyResource(Resource):
"""The resource model definition for a Azure Resource Manager proxy resource. It will not have
tags and a location.
"""Proxy Resource.

:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
Expand Down Expand Up @@ -420,8 +418,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:


class TrackedResource(Resource):
"""The resource model definition for an Azure Resource Manager tracked top level resource which
has 'tags' and a 'location'.
"""Tracked Resource.

:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
Expand Down
Loading
Loading