Skip to content

Commit 474c6e6

Browse files
author
SDKAuto
committed
CodeGen from PR 33177 in Azure/azure-rest-api-specs
Merge b09f4962d7e3ffe1ea16f3bf9c0e837152bfc52c into 7c1e8a2c1e18ac0dd65b88f00447992ed86fcc0f
1 parent 957696b commit 474c6e6

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

sdk/pineconevectordb/azure-mgmt-pineconevectordb/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pip install azure-identity
2424

2525
### Authentication
2626

27-
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
27+
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.
2828

2929
- `AZURE_CLIENT_ID` for Azure client ID.
3030
- `AZURE_TENANT_ID` for Azure tenant ID.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"commit": "70eec0726034ed22734168f3cd3d2b641dbc5723",
2+
"commit": "0bd9315478219b1496618a580dfcbec275d7c97a",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"typespec_src": "specification/liftrpinecone/Pinecone.VectorDb.Management",
5-
"@azure-tools/typespec-python": "0.39.1"
5+
"@azure-tools/typespec-python": "0.41.0"
66
}

sdk/pineconevectordb/azure-mgmt-pineconevectordb/azure/mgmt/pineconevectordb/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "1.0.0b2"
9+
VERSION = "1.0.0b1"

sdk/pineconevectordb/azure-mgmt-pineconevectordb/azure/mgmt/pineconevectordb/aio/operations/_operations.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def prepare_request(next_link=None):
134134

135135
async def extract_data(pipeline_response):
136136
deserialized = pipeline_response.http_response.json()
137-
list_of_elem = _deserialize(List[_models.Operation], deserialized["value"])
137+
list_of_elem = _deserialize(List[_models.Operation], deserialized.get("value", []))
138138
if cls:
139139
list_of_elem = cls(list_of_elem) # type: ignore
140140
return deserialized.get("nextLink") or None, AsyncList(list_of_elem)
@@ -830,7 +830,7 @@ def prepare_request(next_link=None):
830830

831831
async def extract_data(pipeline_response):
832832
deserialized = pipeline_response.http_response.json()
833-
list_of_elem = _deserialize(List[_models.OrganizationResource], deserialized["value"])
833+
list_of_elem = _deserialize(List[_models.OrganizationResource], deserialized.get("value", []))
834834
if cls:
835835
list_of_elem = cls(list_of_elem) # type: ignore
836836
return deserialized.get("nextLink") or None, AsyncList(list_of_elem)
@@ -915,7 +915,7 @@ def prepare_request(next_link=None):
915915

916916
async def extract_data(pipeline_response):
917917
deserialized = pipeline_response.http_response.json()
918-
list_of_elem = _deserialize(List[_models.OrganizationResource], deserialized["value"])
918+
list_of_elem = _deserialize(List[_models.OrganizationResource], deserialized.get("value", []))
919919
if cls:
920920
list_of_elem = cls(list_of_elem) # type: ignore
921921
return deserialized.get("nextLink") or None, AsyncList(list_of_elem)

sdk/pineconevectordb/azure-mgmt-pineconevectordb/azure/mgmt/pineconevectordb/operations/_operations.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def prepare_request(next_link=None):
320320

321321
def extract_data(pipeline_response):
322322
deserialized = pipeline_response.http_response.json()
323-
list_of_elem = _deserialize(List[_models.Operation], deserialized["value"])
323+
list_of_elem = _deserialize(List[_models.Operation], deserialized.get("value", []))
324324
if cls:
325325
list_of_elem = cls(list_of_elem) # type: ignore
326326
return deserialized.get("nextLink") or None, iter(list_of_elem)
@@ -1007,7 +1007,7 @@ def prepare_request(next_link=None):
10071007

10081008
def extract_data(pipeline_response):
10091009
deserialized = pipeline_response.http_response.json()
1010-
list_of_elem = _deserialize(List[_models.OrganizationResource], deserialized["value"])
1010+
list_of_elem = _deserialize(List[_models.OrganizationResource], deserialized.get("value", []))
10111011
if cls:
10121012
list_of_elem = cls(list_of_elem) # type: ignore
10131013
return deserialized.get("nextLink") or None, iter(list_of_elem)
@@ -1091,7 +1091,7 @@ def prepare_request(next_link=None):
10911091

10921092
def extract_data(pipeline_response):
10931093
deserialized = pipeline_response.http_response.json()
1094-
list_of_elem = _deserialize(List[_models.OrganizationResource], deserialized["value"])
1094+
list_of_elem = _deserialize(List[_models.OrganizationResource], deserialized.get("value", []))
10951095
if cls:
10961096
list_of_elem = cls(list_of_elem) # type: ignore
10971097
return deserialized.get("nextLink") or None, iter(list_of_elem)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
directory: specification/liftrpinecone/Pinecone.VectorDb.Management
2-
commit: 70eec0726034ed22734168f3cd3d2b641dbc5723
2+
commit: 0bd9315478219b1496618a580dfcbec275d7c97a
33
repo: Azure/azure-rest-api-specs
44
additionalDirectories:

0 commit comments

Comments
 (0)