Skip to content

Remove fga_client.close() from the README #191

Open
@davidroeca

Description

@davidroeca

It looks like .close() is called in the async __aexit__() method as well as the sync __exit__() method.

Given that context managers in python call the exit block in a similar way to a finally block, what's the motivation for recommending the calling of fga_client.close() at the end of context managers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions