Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude non-required query parameters from request. #51

Open
NotChristianGarcia opened this issue May 15, 2023 · 0 comments
Open

Exclude non-required query parameters from request. #51

NotChristianGarcia opened this issue May 15, 2023 · 0 comments

Comments

@NotChristianGarcia
Copy link
Member

Just caught this case that might be good to look at. If I don't specify the limit and offset parameters for t.actors.list_actors, the request goes through and actually still sends the fields. Might be good to simply skip the parameter in this case.

➜  ~ tapis
[?] Select an API: actors
 > actors
   apps
   authenticator
   files
   jobs
   meta
   notifications
   pgrest
   pods
   sk
   streams
   systems
   tenants

[?] Select an operation: list_actors
   get_execution
   get_execution_logs
   get_execution_result
   get_messages
   get_nonce
   get_state
 > list_actors
   list_aliases
   list_executions
   list_nonces
   list_permissions
   list_workers
   manage_worker_pool_size

Query parameters:
limit: 
offset: 

Error: message: Unrecognized exception type: <class 'ValueError'>. Exception: Inputted "limit" paramater must be an int. Received: 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant