Skip to content

Exclude non-required query parameters from request. #51

Description

@NotChristianGarcia

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: 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions