Skip to content

Do not initialize the api key until needed #5

@nvahalik

Description

@nvahalik

Instantiating the class with the key always reaches out to the API, even if it is never needed. This can add unwanted overhead.

I'd recommend not getting the API token until executing a task that requires it. That way there is no "cost" for instantiating it and never using it.

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