Skip to content

Commit

Permalink
⚠️ Dropped query params from get_w3c_credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
ff137 committed Nov 12, 2024
1 parent 416ea7b commit b373ea4
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions aries_cloudcontroller/api/credentials_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -786,18 +786,6 @@ def _get_w3c_credential_serialize(
@validate_call
async def get_w3c_credentials(
self,
count: Annotated[
Optional[Annotated[str, Field(strict=True)]],
Field(description="Maximum number to retrieve"),
] = None,
start: Annotated[
Optional[Annotated[str, Field(strict=True)]],
Field(description="Start index"),
] = None,
wql: Annotated[
Optional[Annotated[str, Field(strict=True)]],
Field(description="(JSON) WQL query"),
] = None,
body: Optional[W3CCredentialsListRequest] = None,
_request_timeout: Union[
None,
Expand All @@ -814,21 +802,12 @@ async def get_w3c_credentials(
"""Fetch W3C credentials from wallet
:param count: Maximum number to retrieve
:type count: str
:param start: Start index
:type start: str
:param wql: (JSON) WQL query
:type wql: str
:param body:
:type body: W3CCredentialsListRequest
...
""" # noqa: E501

_param = self._get_w3c_credentials_serialize(
count=count,
start=start,
wql=wql,
body=body,
_request_auth=_request_auth,
_content_type=_content_type,
Expand All @@ -850,9 +829,6 @@ async def get_w3c_credentials(

def _get_w3c_credentials_serialize(
self,
count,
start,
wql,
body,
_request_auth,
_content_type,
Expand All @@ -875,18 +851,6 @@ def _get_w3c_credentials_serialize(

# process the path parameters
# process the query parameters
if count is not None:

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

if start is not None:

_query_params.append(("start", start))

if wql is not None:

_query_params.append(("wql", wql))

# process the header parameters
# process the form parameters
# process the body parameter
Expand Down

0 comments on commit b373ea4

Please sign in to comment.