Skip to content

Commit 27a8473

Browse files
authored
✨ Upgrade to our 1.1.1b3 release (#219)
* 1.1.1b3 * 🎨 descriptions * 🎨 Update iterated variable names * ✨ `in-memory` option removed from wallet_type * ⚠️ Dropped query params from get_w3c_credentials * 🎨 Deprecated count/start and implements limit/offset instead * 📝 Updated openapi specs
1 parent cc91894 commit 27a8473

File tree

394 files changed

+686
-589
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

394 files changed

+686
-589
lines changed

aries_cloudcontroller/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
88
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
99
10-
The version of the OpenAPI document: v1.1.1b0
10+
The version of the OpenAPI document: v1.1.1b3
1111
Generated by OpenAPI Generator (https://openapi-generator.tech)
1212
1313
Do not edit the class manually.
1414
""" # noqa: E501
1515

1616

17-
__version__ = "1.1.1b0"
17+
__version__ = "1.1.1b3"
1818

1919
from aries_cloudcontroller.acapy_client import AcaPyClient
2020

aries_cloudcontroller/api/action_menu_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
77
8-
The version of the OpenAPI document: v1.1.1b0
8+
The version of the OpenAPI document: v1.1.1b3
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

aries_cloudcontroller/api/anoncreds_credential_definitions_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
77
8-
The version of the OpenAPI document: v1.1.1b0
8+
The version of the OpenAPI document: v1.1.1b3
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

aries_cloudcontroller/api/anoncreds_revocation_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
77
8-
The version of the OpenAPI document: v1.1.1b0
8+
The version of the OpenAPI document: v1.1.1b3
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

aries_cloudcontroller/api/anoncreds_schemas_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
77
8-
The version of the OpenAPI document: v1.1.1b0
8+
The version of the OpenAPI document: v1.1.1b3
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

aries_cloudcontroller/api/anoncreds_wallet_upgrade_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
77
8-
The version of the OpenAPI document: v1.1.1b0
8+
The version of the OpenAPI document: v1.1.1b3
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

aries_cloudcontroller/api/basicmessage_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
77
8-
The version of the OpenAPI document: v1.1.1b0
8+
The version of the OpenAPI document: v1.1.1b3
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

aries_cloudcontroller/api/connection_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
77
8-
The version of the OpenAPI document: v1.1.1b0
8+
The version of the OpenAPI document: v1.1.1b3
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

aries_cloudcontroller/api/credential_definition_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
77
8-
The version of the OpenAPI document: v1.1.1b0
8+
The version of the OpenAPI document: v1.1.1b3
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

aries_cloudcontroller/api/credentials_api.py

Lines changed: 29 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
77
8-
The version of the OpenAPI document: v1.1.1b0
8+
The version of the OpenAPI document: v1.1.1b3
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.
@@ -439,11 +439,19 @@ async def get_records(
439439
self,
440440
count: Annotated[
441441
Optional[Annotated[str, Field(strict=True)]],
442-
Field(description="Maximum number to retrieve"),
442+
Field(
443+
description="Maximum number to retrieve (DEPRECATED - use limit instead)"
444+
),
445+
] = None,
446+
limit: Annotated[
447+
Optional[StrictInt], Field(description="Number of results to return")
448+
] = None,
449+
offset: Annotated[
450+
Optional[StrictInt], Field(description="Offset for pagination")
443451
] = None,
444452
start: Annotated[
445453
Optional[Annotated[str, Field(strict=True)]],
446-
Field(description="Start index"),
454+
Field(description="Start index (DEPRECATED - use offset instead)"),
447455
] = None,
448456
wql: Annotated[
449457
Optional[Annotated[str, Field(strict=True)]],
@@ -464,9 +472,13 @@ async def get_records(
464472
"""Fetch credentials from wallet
465473
466474
467-
:param count: Maximum number to retrieve
475+
:param count: Maximum number to retrieve (DEPRECATED - use limit instead)
468476
:type count: str
469-
:param start: Start index
477+
:param limit: Number of results to return
478+
:type limit: int
479+
:param offset: Offset for pagination
480+
:type offset: int
481+
:param start: Start index (DEPRECATED - use offset instead)
470482
:type start: str
471483
:param wql: (JSON) WQL query
472484
:type wql: str
@@ -475,6 +487,8 @@ async def get_records(
475487

476488
_param = self._get_records_serialize(
477489
count=count,
490+
limit=limit,
491+
offset=offset,
478492
start=start,
479493
wql=wql,
480494
_request_auth=_request_auth,
@@ -498,6 +512,8 @@ async def get_records(
498512
def _get_records_serialize(
499513
self,
500514
count,
515+
limit,
516+
offset,
501517
start,
502518
wql,
503519
_request_auth,
@@ -525,6 +541,14 @@ def _get_records_serialize(
525541

526542
_query_params.append(("count", count))
527543

544+
if limit is not None:
545+
546+
_query_params.append(("limit", limit))
547+
548+
if offset is not None:
549+
550+
_query_params.append(("offset", offset))
551+
528552
if start is not None:
529553

530554
_query_params.append(("start", start))
@@ -786,18 +810,6 @@ def _get_w3c_credential_serialize(
786810
@validate_call
787811
async def get_w3c_credentials(
788812
self,
789-
count: Annotated[
790-
Optional[Annotated[str, Field(strict=True)]],
791-
Field(description="Maximum number to retrieve"),
792-
] = None,
793-
start: Annotated[
794-
Optional[Annotated[str, Field(strict=True)]],
795-
Field(description="Start index"),
796-
] = None,
797-
wql: Annotated[
798-
Optional[Annotated[str, Field(strict=True)]],
799-
Field(description="(JSON) WQL query"),
800-
] = None,
801813
body: Optional[W3CCredentialsListRequest] = None,
802814
_request_timeout: Union[
803815
None,
@@ -814,21 +826,12 @@ async def get_w3c_credentials(
814826
"""Fetch W3C credentials from wallet
815827
816828
817-
:param count: Maximum number to retrieve
818-
:type count: str
819-
:param start: Start index
820-
:type start: str
821-
:param wql: (JSON) WQL query
822-
:type wql: str
823829
:param body:
824830
:type body: W3CCredentialsListRequest
825831
...
826832
""" # noqa: E501
827833

828834
_param = self._get_w3c_credentials_serialize(
829-
count=count,
830-
start=start,
831-
wql=wql,
832835
body=body,
833836
_request_auth=_request_auth,
834837
_content_type=_content_type,
@@ -850,9 +853,6 @@ async def get_w3c_credentials(
850853

851854
def _get_w3c_credentials_serialize(
852855
self,
853-
count,
854-
start,
855-
wql,
856856
body,
857857
_request_auth,
858858
_content_type,
@@ -875,18 +875,6 @@ def _get_w3c_credentials_serialize(
875875

876876
# process the path parameters
877877
# process the query parameters
878-
if count is not None:
879-
880-
_query_params.append(("count", count))
881-
882-
if start is not None:
883-
884-
_query_params.append(("start", start))
885-
886-
if wql is not None:
887-
888-
_query_params.append(("wql", wql))
889-
890878
# process the header parameters
891879
# process the form parameters
892880
# process the body parameter

0 commit comments

Comments
 (0)