Skip to content

Add 'with' support #100

@TitanicTeam2

Description

@TitanicTeam2

It would be very nice if a with keyword will be supported to get the api.

Something like:

with connection as api:
    api.get_resource('/command')
    ...
# connection will be disconnected automatically. 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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