mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2026-02-03 21:36:24 -06:00
feat: Add sortByColumn functionality to List Operation
This change introduces the ability to sort results by a specific column in the List Operation. PiperOrigin-RevId: 766468964
This commit is contained in:
committed by
Copybara-Service
parent
eb2b9ef88f
commit
af95dd2932
@@ -252,6 +252,12 @@ class ConnectionsClient:
|
||||
"Timeout in seconds for execution of custom query"
|
||||
),
|
||||
},
|
||||
"sortByColumns": {
|
||||
"type": "array",
|
||||
"items": {"type": "string"},
|
||||
"default": [],
|
||||
"description": "Column to sort the results by",
|
||||
},
|
||||
"connectorOutputPayload": {"type": "object"},
|
||||
"nextPageToken": {"type": "string"},
|
||||
"execute-connector_Response": {
|
||||
@@ -665,6 +671,7 @@ class ConnectionsClient:
|
||||
"serviceName": {"$ref": "#/components/schemas/serviceName"},
|
||||
"host": {"$ref": "#/components/schemas/host"},
|
||||
"entity": {"$ref": "#/components/schemas/entity"},
|
||||
"sortByColumns": {"$ref": "#/components/schemas/sortByColumns"},
|
||||
"dynamicAuthConfig": {
|
||||
"$ref": "#/components/schemas/dynamicAuthConfig"
|
||||
},
|
||||
|
||||
@@ -64,11 +64,7 @@ class IntegrationConnectorTool(BaseTool):
|
||||
'dynamic_auth_config',
|
||||
]
|
||||
|
||||
OPTIONAL_FIELDS = [
|
||||
'page_size',
|
||||
'page_token',
|
||||
'filter',
|
||||
]
|
||||
OPTIONAL_FIELDS = ['page_size', 'page_token', 'filter', 'sortByColumns']
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user