Skip to content

Exposing a timeout parameter to run_async #720

@stvoutsin

Description

@stvoutsin

Description

run_async doesn't expose a timeout parameter, so users can't customize it without dropping down to the lower-level job API
Is there any reason not to add an optional timeout parameter to run_async:

def run_async(self, query, *, timeout=600., delete=True, ...):
    ...
    job.wait(timeout=timeout)
    ...

Would you want to open a PR for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions