Skip to content

Provide coroutine based Api for asynchronous operations #205

@planetmarshall

Description

@planetmarshall

The standard "pythonic" way of implementing an asynchronous API is with coroutines, eg I would expect usage such as

async def write_data(client):
    data = {...}
    await client.write_data(data)

This would make the InfluxDB API consistent with other asynchronous APIs (eg the asyncio standard library)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions