Skip to content
Draft
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
changeKind: internal
packages:
- "@autorest/python"
- "@azure-tools/typespec-python"
---

Optimize sdk generation performance
2 changes: 1 addition & 1 deletion 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": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgxNTE4Ny9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.1.tgz",
"@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgxNzA2NS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.2.tgz",
"@autorest/system-requirements": "~1.0.2",
"fs-extra": "~11.2.0",
"tsx": "~4.19.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/typespec-python/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"js-yaml": "~4.1.0",
"semver": "~7.6.2",
"tsx": "~4.19.1",
"@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgxNTE4Ny9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.1.tgz",
"@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgxNzA2NS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.2.tgz",
"fs-extra": "~11.2.0"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,9 @@ class TestHierarchyBuildingAnimalOperationsOperations(HierarchyBuildingClientTes
def test_animal_operations_update_pet_as_animal(self, hierarchybuilding_endpoint):
client = self.create_client(endpoint=hierarchybuilding_endpoint)
response = client.animal_operations.update_pet_as_animal(
animal={
"breed": "str",
"kind": "dog",
"name": "str",
"trained": bool
}
,
animal={"breed": "str", "kind": "dog", "name": "str", "trained": bool},
)

# please add some check logic here by yourself
# ...

Expand All @@ -34,15 +28,8 @@ def test_animal_operations_update_pet_as_animal(self, hierarchybuilding_endpoint
def test_animal_operations_update_dog_as_animal(self, hierarchybuilding_endpoint):
client = self.create_client(endpoint=hierarchybuilding_endpoint)
response = client.animal_operations.update_dog_as_animal(
animal={
"breed": "str",
"kind": "dog",
"name": "str",
"trained": bool
}
,
animal={"breed": "str", "kind": "dog", "name": "str", "trained": bool},
)

# please add some check logic here by yourself
# ...

Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,9 @@ class TestHierarchyBuildingAnimalOperationsOperationsAsync(HierarchyBuildingClie
async def test_animal_operations_update_pet_as_animal(self, hierarchybuilding_endpoint):
client = self.create_async_client(endpoint=hierarchybuilding_endpoint)
response = await client.animal_operations.update_pet_as_animal(
animal={
"breed": "str",
"kind": "dog",
"name": "str",
"trained": bool
}
,
animal={"breed": "str", "kind": "dog", "name": "str", "trained": bool},
)

# please add some check logic here by yourself
# ...

Expand All @@ -35,15 +29,8 @@ async def test_animal_operations_update_pet_as_animal(self, hierarchybuilding_en
async def test_animal_operations_update_dog_as_animal(self, hierarchybuilding_endpoint):
client = self.create_async_client(endpoint=hierarchybuilding_endpoint)
response = await client.animal_operations.update_dog_as_animal(
animal={
"breed": "str",
"kind": "dog",
"name": "str",
"trained": bool
}
,
animal={"breed": "str", "kind": "dog", "name": "str", "trained": bool},
)

# please add some check logic here by yourself
# ...

Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,8 @@ class TestHierarchyBuildingDogOperationsOperations(HierarchyBuildingClientTestBa
def test_dog_operations_update_dog_as_dog(self, hierarchybuilding_endpoint):
client = self.create_client(endpoint=hierarchybuilding_endpoint)
response = client.dog_operations.update_dog_as_dog(
dog={
"breed": "str",
"kind": "dog",
"name": "str",
"trained": bool
}
,
dog={"breed": "str", "kind": "dog", "name": "str", "trained": bool},
)

# please add some check logic here by yourself
# ...

Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,8 @@ class TestHierarchyBuildingDogOperationsOperationsAsync(HierarchyBuildingClientT
async def test_dog_operations_update_dog_as_dog(self, hierarchybuilding_endpoint):
client = self.create_async_client(endpoint=hierarchybuilding_endpoint)
response = await client.dog_operations.update_dog_as_dog(
dog={
"breed": "str",
"kind": "dog",
"name": "str",
"trained": bool
}
,
dog={"breed": "str", "kind": "dog", "name": "str", "trained": bool},
)

# please add some check logic here by yourself
# ...

Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,9 @@ class TestHierarchyBuildingPetOperationsOperations(HierarchyBuildingClientTestBa
def test_pet_operations_update_pet_as_pet(self, hierarchybuilding_endpoint):
client = self.create_client(endpoint=hierarchybuilding_endpoint)
response = client.pet_operations.update_pet_as_pet(
pet={
"breed": "str",
"kind": "dog",
"name": "str",
"trained": bool
}
,
pet={"breed": "str", "kind": "dog", "name": "str", "trained": bool},
)

# please add some check logic here by yourself
# ...

Expand All @@ -34,15 +28,8 @@ def test_pet_operations_update_pet_as_pet(self, hierarchybuilding_endpoint):
def test_pet_operations_update_dog_as_pet(self, hierarchybuilding_endpoint):
client = self.create_client(endpoint=hierarchybuilding_endpoint)
response = client.pet_operations.update_dog_as_pet(
pet={
"breed": "str",
"kind": "dog",
"name": "str",
"trained": bool
}
,
pet={"breed": "str", "kind": "dog", "name": "str", "trained": bool},
)

# please add some check logic here by yourself
# ...

Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,9 @@ class TestHierarchyBuildingPetOperationsOperationsAsync(HierarchyBuildingClientT
async def test_pet_operations_update_pet_as_pet(self, hierarchybuilding_endpoint):
client = self.create_async_client(endpoint=hierarchybuilding_endpoint)
response = await client.pet_operations.update_pet_as_pet(
pet={
"breed": "str",
"kind": "dog",
"name": "str",
"trained": bool
}
,
pet={"breed": "str", "kind": "dog", "name": "str", "trained": bool},
)

# please add some check logic here by yourself
# ...

Expand All @@ -35,15 +29,8 @@ async def test_pet_operations_update_pet_as_pet(self, hierarchybuilding_endpoint
async def test_pet_operations_update_dog_as_pet(self, hierarchybuilding_endpoint):
client = self.create_async_client(endpoint=hierarchybuilding_endpoint)
response = await client.pet_operations.update_dog_as_pet(
pet={
"breed": "str",
"kind": "dog",
"name": "str",
"trained": bool
}
,
pet={"breed": "str", "kind": "dog", "name": "str", "trained": bool},
)

# please add some check logic here by yourself
# ...

16 changes: 8 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.