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
The table of contents is too big for display.
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.19.0",
"@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTQyODU3OC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.19.0.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/"
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class PyprojectMgmtClientConfiguration: # pylint: disable=too-many-instance-att
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
None.
:type cloud_setting: ~azure.core.AzureClouds
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class PyprojectMgmtClient: # pylint: disable=client-accepts-api-version-keyword
:param base_url: Service URL. Default value is None.
:type base_url: str
:keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
None.
:paramtype cloud_setting: ~azure.core.AzureClouds
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class PyprojectMgmtClientConfiguration: # pylint: disable=too-many-instance-att
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
None.
:type cloud_setting: ~azure.core.AzureClouds
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class PyprojectMgmtClient: # pylint: disable=client-accepts-api-version-keyword
:param base_url: Service URL. Default value is None.
:type base_url: str
:keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
None.
:paramtype cloud_setting: ~azure.core.AzureClouds
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ readme = {file = ["README.md", "CHANGELOG.md"], content-type = "text/markdown"}
[tool.setuptools.packages.find]
exclude = [
"tests*",
"generated_tests*",
"samples*",
"generated_samples*",
"doc*",
"azure",
"azure.mgmt",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class AutoRestHeadTestService: # pylint: disable=client-accepts-api-version-key
:param base_url: Service URL. Default value is None.
:type base_url: str
:keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
None.
:paramtype cloud_setting: ~azure.core.AzureClouds
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class AutoRestHeadTestServiceConfiguration: # pylint: disable=too-many-instance
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
None.
:type cloud_setting: ~azure.core.AzureClouds
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class AutoRestHeadTestService: # pylint: disable=client-accepts-api-version-key
:param base_url: Service URL. Default value is None.
:type base_url: str
:keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
None.
:paramtype cloud_setting: ~azure.core.AzureClouds
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class AutoRestHeadTestServiceConfiguration: # pylint: disable=too-many-instance
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
None.
:type cloud_setting: ~azure.core.AzureClouds
"""

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class PollingPagingExample(_PollingPagingExampleOperationsMixin): # pylint: dis
:keyword endpoint: Service URL. Default value is "http://localhost:3000".
:paramtype endpoint: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Retry-After header is present.
Retry-After header is present.
"""

def __init__( # pylint: disable=missing-client-constructor-parameter-credential
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,18 +156,18 @@ def begin_basic_polling(

# JSON input template you can fill out and use as your body input.
product = {
"properties": {
"id": 0,
"name": "str"
}
"properties": {
"id": 0,
"name": "str"
}
}

# response body for status code(s): 200
response == {
"properties": {
"id": 0,
"name": "str"
}
"properties": {
"id": 0,
"name": "str"
}
}
"""

Expand All @@ -191,10 +191,10 @@ def begin_basic_polling(

# response body for status code(s): 200
response == {
"properties": {
"id": 0,
"name": "str"
}
"properties": {
"id": 0,
"name": "str"
}
}
"""

Expand All @@ -216,18 +216,18 @@ def begin_basic_polling(

# JSON input template you can fill out and use as your body input.
product = {
"properties": {
"id": 0,
"name": "str"
}
"properties": {
"id": 0,
"name": "str"
}
}

# response body for status code(s): 200
response == {
"properties": {
"id": 0,
"name": "str"
}
"properties": {
"id": 0,
"name": "str"
}
}
"""
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
Expand Down Expand Up @@ -289,10 +289,10 @@ def basic_paging(self, **kwargs: Any) -> ItemPaged[JSON]:

# response body for status code(s): 200
response == {
"properties": {
"id": 0,
"name": "str"
}
"properties": {
"id": 0,
"name": "str"
}
}
"""
_headers = kwargs.pop("headers", {}) or {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class PollingPagingExample(_PollingPagingExampleOperationsMixin): # pylint: dis
:keyword endpoint: Service URL. Default value is "http://localhost:3000".
:paramtype endpoint: str
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
Retry-After header is present.
Retry-After header is present.
"""

def __init__( # pylint: disable=missing-client-constructor-parameter-credential
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,18 +127,18 @@ async def begin_basic_polling(

# JSON input template you can fill out and use as your body input.
product = {
"properties": {
"id": 0,
"name": "str"
}
"properties": {
"id": 0,
"name": "str"
}
}

# response body for status code(s): 200
response == {
"properties": {
"id": 0,
"name": "str"
}
"properties": {
"id": 0,
"name": "str"
}
}
"""

Expand All @@ -162,10 +162,10 @@ async def begin_basic_polling(

# response body for status code(s): 200
response == {
"properties": {
"id": 0,
"name": "str"
}
"properties": {
"id": 0,
"name": "str"
}
}
"""

Expand All @@ -187,18 +187,18 @@ async def begin_basic_polling(

# JSON input template you can fill out and use as your body input.
product = {
"properties": {
"id": 0,
"name": "str"
}
"properties": {
"id": 0,
"name": "str"
}
}

# response body for status code(s): 200
response == {
"properties": {
"id": 0,
"name": "str"
}
"properties": {
"id": 0,
"name": "str"
}
}
"""
_headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
Expand Down Expand Up @@ -264,10 +264,10 @@ def basic_paging(self, **kwargs: Any) -> AsyncItemPaged[JSON]:

# response body for status code(s): 200
response == {
"properties": {
"id": 0,
"name": "str"
}
"properties": {
"id": 0,
"name": "str"
}
}
"""
_headers = kwargs.pop("headers", {}) or {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class AutoRestHeadTestService: # pylint: disable=client-accepts-api-version-key
:param base_url: Service URL. Default value is None.
:type base_url: str
:keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
None.
:paramtype cloud_setting: ~azure.core.AzureClouds
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class AutoRestHeadTestServiceConfiguration: # pylint: disable=too-many-instance
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
None.
:type cloud_setting: ~azure.core.AzureClouds
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class AutoRestHeadTestService: # pylint: disable=client-accepts-api-version-key
:param base_url: Service URL. Default value is None.
:type base_url: str
:keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
None.
:paramtype cloud_setting: ~azure.core.AzureClouds
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class AutoRestHeadTestServiceConfiguration: # pylint: disable=too-many-instance
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
:param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
None.
:type cloud_setting: ~azure.core.AzureClouds
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ async def post_shared_parameter_group_object(
@distributed_trace_async
async def group_with_constant(self, grouper: Optional[_models.Grouper] = None, **kwargs: Any) -> None:
"""Parameter group with a constant. Pass in 'foo' for groupedConstant and 'bar' for
groupedParameter.
groupedParameter.

:param grouper: Parameter group. Default value is None.
:type grouper: ~azureparametergrouping.models.Grouper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ def group_with_constant( # pylint: disable=inconsistent-return-statements
self, grouper: Optional[_models.Grouper] = None, **kwargs: Any
) -> None:
"""Parameter group with a constant. Pass in 'foo' for groupedConstant and 'bar' for
groupedParameter.
groupedParameter.

:param grouper: Parameter group. Default value is None.
:type grouper: ~azureparametergrouping.models.Grouper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ class AutoRestAzureSpecialParametersTestClient: # pylint: disable=too-many-inst
:vartype xms_client_request_id: azurespecialproperties.operations.XMsClientRequestIdOperations
:ivar subscription_in_credentials: SubscriptionInCredentialsOperations operations
:vartype subscription_in_credentials:
azurespecialproperties.operations.SubscriptionInCredentialsOperations
azurespecialproperties.operations.SubscriptionInCredentialsOperations
:ivar subscription_in_method: SubscriptionInMethodOperations operations
:vartype subscription_in_method:
azurespecialproperties.operations.SubscriptionInMethodOperations
azurespecialproperties.operations.SubscriptionInMethodOperations
:ivar api_version_default: ApiVersionDefaultOperations operations
:vartype api_version_default: azurespecialproperties.operations.ApiVersionDefaultOperations
:ivar api_version_local: ApiVersionLocalOperations operations
Expand All @@ -61,15 +61,15 @@ class AutoRestAzureSpecialParametersTestClient: # pylint: disable=too-many-inst
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The subscription id, which appears in the path, always modeled in
credentials. The value is always '1234-5678-9012-3456'. Required.
credentials. The value is always '1234-5678-9012-3456'. Required.
:type subscription_id: str
:param base_url: Service URL. Default value is None.
:type base_url: str
:keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
None.
:paramtype cloud_setting: ~azure.core.AzureClouds
:keyword api_version: Api Version. Default value is "2015-07-01-preview". Note that overriding
this default value may result in unsupported behavior.
this default value may result in unsupported behavior.
:paramtype api_version: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ class AutoRestAzureSpecialParametersTestClientConfiguration: # pylint: disable=
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The subscription id, which appears in the path, always modeled in
credentials. The value is always '1234-5678-9012-3456'. Required.
credentials. The value is always '1234-5678-9012-3456'. Required.
:type subscription_id: str
:param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
None.
None.
:type cloud_setting: ~azure.core.AzureClouds
:keyword api_version: Api Version. Default value is "2015-07-01-preview". Note that overriding
this default value may result in unsupported behavior.
this default value may result in unsupported behavior.
:paramtype api_version: str
"""

Expand Down
Loading
Loading