Is your feature request related to a problem? Please describe.
The RunsClient.list method returns a summary of task runs matching a filter. Setting include_payloads=False reduces the response size but it still is quite heavy when I only needs the total number of matching runs. There also seems to be a limit of 20k task runs when using RunsClient.list.
Describe the solution you'd like
I would like to see count and aio_count methods added to the RunsClient. These should accept the same filtering parameters as list but return a simple integer. I suspect this will require a new server-side endpoint and I assume the server has a way of querying this.
Describe alternatives you've considered
Additional context
Is your feature request related to a problem? Please describe.
The RunsClient.list method returns a summary of task runs matching a filter. Setting
include_payloads=Falsereduces the response size but it still is quite heavy when I only needs the total number of matching runs. There also seems to be a limit of 20k task runs when usingRunsClient.list.Describe the solution you'd like
I would like to see
countandaio_countmethods added to theRunsClient. These should accept the same filtering parameters aslistbut return a simple integer. I suspect this will require a new server-side endpoint and I assume the server has a way of querying this.Describe alternatives you've considered
Additional context