Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto PR for https://github.com/microsoft/typespec/pull/6121 #3044

Closed
wants to merge 2 commits into from
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.6.11",
"@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDU4ODIyNy9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.6.11.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/"
]
}
}
4 changes: 2 additions & 2 deletions packages/typespec-python/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"js-yaml": "~4.1.0",
"semver": "~7.6.2",
"tsx": "~4.19.1",
"@typespec/http-client-python": "~0.6.11",
"@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDU4ODIyNy9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.6.11.tgz",
"fs-extra": "~11.2.0"
},
"devDependencies": {
Expand Down Expand Up @@ -89,4 +89,4 @@
"chalk": "5.3.0",
"@types/fs-extra": "11.0.4"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
class InvalidAuth(_model_base.Model):
"""InvalidAuth.

All required parameters must be populated in order to send to server.

:ivar error: Required.
:vartype error: str
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
class InvalidAuth(_model_base.Model):
"""InvalidAuth.

All required parameters must be populated in order to send to server.

:ivar error: Required.
:vartype error: str
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
class InvalidAuth(_model_base.Model):
"""InvalidAuth.

All required parameters must be populated in order to send to server.

:ivar error: Required.
:vartype error: str
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class AbstractModel(_model_base.Model):
You probably want to use the sub-classes and not this class directly. Known sub-classes are:
RealModel


:ivar kind: Discriminator property for AbstractModel. Required. Default value is None.
:vartype kind: str
:ivar name: Required.
Expand Down Expand Up @@ -58,7 +57,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
class BaseModel(_model_base.Model):
"""Used in internal operations, should be generated but not exported.


:ivar name: Required.
:vartype name: str
"""
Expand Down Expand Up @@ -87,7 +85,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
class InnerModel(_model_base.Model):
"""Used in internal operations, should be generated but not exported.


:ivar name: Required.
:vartype name: str
"""
Expand Down Expand Up @@ -116,7 +113,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
class InternalDecoratorModelInInternal(_model_base.Model):
"""Used in an internal operation, should be generated but not exported.


:ivar name: Required.
:vartype name: str
"""
Expand Down Expand Up @@ -145,7 +141,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
class NoDecoratorModelInInternal(_model_base.Model):
"""Used in an internal operation, should be generated but not exported.


:ivar name: Required.
:vartype name: str
"""
Expand Down Expand Up @@ -174,7 +169,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
class NoDecoratorModelInPublic(_model_base.Model):
"""Used in a public operation, should be generated and exported.


:ivar name: Required.
:vartype name: str
"""
Expand Down Expand Up @@ -203,7 +197,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
class OuterModel(BaseModel):
"""Used in internal operations, should be generated but not exported.


:ivar name: Required.
:vartype name: str
:ivar inner: Required.
Expand Down Expand Up @@ -235,7 +228,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
class PublicDecoratorModelInInternal(_model_base.Model):
"""Used in an internal operation but with public decorator, should be generated and exported.


:ivar name: Required.
:vartype name: str
"""
Expand Down Expand Up @@ -264,7 +256,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
class PublicDecoratorModelInPublic(_model_base.Model):
"""Used in a public operation, should be generated and exported.


:ivar name: Required.
:vartype name: str
"""
Expand Down Expand Up @@ -293,7 +284,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
class RealModel(AbstractModel, discriminator="real"):
"""Used in internal operations, should be generated but not exported.


:ivar name: Required.
:vartype name: str
:ivar kind: Required. Default value is "real".
Expand Down Expand Up @@ -324,7 +314,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
class SharedModel(_model_base.Model):
"""Used by both public and internal operation. It should be generated and exported.


:ivar name: Required.
:vartype name: str
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
class ChildFlattenModel(_model_base.Model):
"""This is the child model to be flattened. And it has flattened property as well.


:ivar summary: Required.
:vartype summary: str
:ivar properties: Required.
Expand Down Expand Up @@ -73,7 +72,6 @@ def __setattr__(self, key: str, value: Any) -> None:
class ChildModel(_model_base.Model):
"""This is the child model to be flattened.


:ivar description: Required.
:vartype description: str
:ivar age: Required.
Expand Down Expand Up @@ -107,7 +105,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
class FlattenModel(_model_base.Model):
"""This is the model with one level of flattening.


:ivar name: Required.
:vartype name: str
:ivar properties: Required.
Expand Down Expand Up @@ -161,7 +158,6 @@ def __setattr__(self, key: str, value: Any) -> None:
class NestedFlattenModel(_model_base.Model):
"""This is the model with two levels of flattening.


:ivar name: Required.
:vartype name: str
:ivar properties: Required.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
class InputModel(_model_base.Model):
"""Usage override to roundtrip.


:ivar name: Required.
:vartype name: str
"""
Expand Down Expand Up @@ -49,8 +48,6 @@ class OrphanModel(_model_base.Model):
"""Not used anywhere, but access is override to public so still need to be generated and exported
with serialization.

All required parameters must be populated in order to send to server.

:ivar name: Required.
:vartype name: str
"""
Expand Down Expand Up @@ -79,7 +76,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
class OutputModel(_model_base.Model):
"""Usage override to roundtrip.


:ivar name: Required.
:vartype name: str
"""
Expand Down Expand Up @@ -108,7 +104,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
class ResultModel(_model_base.Model):
"""ResultModel.


:ivar name: Required.
:vartype name: str
"""
Expand Down Expand Up @@ -139,7 +134,6 @@ class RoundTripModel(_model_base.Model):

Readonly variables are only populated by the server, and will be ignored when sending a request.


:ivar result: Required.
:vartype result: ~specs.azure.clientgenerator.core.usage.models.ResultModel
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class User(_model_base.Model):

Readonly variables are only populated by the server, and will be ignored when sending a request.


:ivar id: The user's id. Required.
:vartype id: int
:ivar name: The user's name. Required.
Expand Down Expand Up @@ -63,7 +62,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
class UserList(_model_base.Model):
"""UserList.


:ivar users: Required.
:vartype users: list[~specs.azure.core.basic.models.User]
"""
Expand Down Expand Up @@ -94,7 +92,6 @@ class UserOrder(_model_base.Model):

Readonly variables are only populated by the server, and will be ignored when sending a request.


:ivar id: The user's id. Required.
:vartype id: int
:ivar user_id: The user's id. Required.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
class ExportedUser(_model_base.Model):
"""The exported user data.


:ivar name: The name of user. Required.
:vartype name: str
:ivar resource_uri: The exported URI. Required.
Expand Down Expand Up @@ -52,7 +51,6 @@ class User(_model_base.Model):

Readonly variables are only populated by the server, and will be ignored when sending a request.


:ivar name: The name of user. Required.
:vartype name: str
:ivar role: The role of user. Required.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
class AzureEmbeddingModel(_model_base.Model):
"""AzureEmbeddingModel.


:ivar embedding: Required.
:vartype embedding: list[int]
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class FirstItem(_model_base.Model):

Readonly variables are only populated by the server, and will be ignored when sending a request.


:ivar id: The id of the item. Required.
:vartype id: int
"""
Expand All @@ -33,8 +32,6 @@ class FirstItem(_model_base.Model):
class ListItemInputBody(_model_base.Model):
"""The body of the input.

All required parameters must be populated in order to send to server.

:ivar input_name: The name of the input. Required.
:vartype input_name: str
"""
Expand Down Expand Up @@ -65,7 +62,6 @@ class SecondItem(_model_base.Model):

Readonly variables are only populated by the server, and will be ignored when sending a request.


:ivar name: The name of the item. Required.
:vartype name: str
"""
Expand All @@ -79,7 +75,6 @@ class User(_model_base.Model):

Readonly variables are only populated by the server, and will be ignored when sending a request.


:ivar id: The user's id. Required.
:vartype id: int
:ivar name: The user's name. Required.
Expand Down Expand Up @@ -123,7 +118,6 @@ class UserOrder(_model_base.Model):

Readonly variables are only populated by the server, and will be ignored when sending a request.


:ivar id: The user's id. Required.
:vartype id: int
:ivar user_id: The user's id. Required.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
class AzureLocationModel(_model_base.Model):
"""AzureLocationModel.


:ivar location: Required.
:vartype location: str
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ class User(_model_base.Model):

Readonly variables are only populated by the server, and will be ignored when sending a request.


:ivar id: The user's id. Required.
:vartype id: int
:ivar name: The user's name.
Expand Down Expand Up @@ -51,8 +50,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
class UserActionParam(_model_base.Model):
"""User action param.

All required parameters must be populated in order to send to server.

:ivar user_action_value: User action value. Required.
:vartype user_action_value: str
"""
Expand Down Expand Up @@ -83,7 +80,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
class UserActionResponse(_model_base.Model):
"""User action response.


:ivar user_action_result: User action result. Required.
:vartype user_action_result: str
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
class ActionRequest(_model_base.Model):
"""ActionRequest.

All required parameters must be populated in order to send to server.

:ivar string_property: Required.
:vartype string_property: str
:ivar model_property:
Expand Down Expand Up @@ -67,7 +65,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
class ActionResponse(_model_base.Model):
"""ActionResponse.


:ivar string_property: Required.
:vartype string_property: str
:ivar model_property:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
class User(_model_base.Model):
"""User model.


:ivar name: User name. Required.
:vartype name: str
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ class TrackedResource(Resource):

Readonly variables are only populated by the server, and will be ignored when sending a request.


:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
Expand Down Expand Up @@ -180,7 +179,6 @@ class ManagedIdentityTrackedResource(TrackedResource):

Readonly variables are only populated by the server, and will be ignored when sending a request.


:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
:vartype id: str
Expand Down Expand Up @@ -238,7 +236,6 @@ class ManagedIdentityTrackedResourceProperties(_model_base.Model):

Readonly variables are only populated by the server, and will be ignored when sending a request.


:ivar provisioning_state: The status of the last operation. Required.
:vartype provisioning_state: str
"""
Expand All @@ -252,7 +249,6 @@ class ManagedServiceIdentity(_model_base.Model):

Readonly variables are only populated by the server, and will be ignored when sending a request.


:ivar principal_id: The service principal ID of the system assigned identity. This property
will only be provided for a system assigned identity.
:vartype principal_id: str
Expand Down
Loading
Loading