这是indexloc提供的服务,不要输入任何密码
Skip to content

Ability to provide token once at instantiation of the client #1325

@sir-captainmorgan21

Description

@sir-captainmorgan21

Is your feature request related to a problem? Please describe.
The new implementation took a step backwards when it required defining the token for every request made rather than the ability to define it once when instantiating the client. Can we bring that functionality back?

  1. Bringing it back would make this packages API up to industry standards of instantiating the client and providing the token once.
  2. Would eliminate the receptiveness in code that can be quite easy to miss

Describe the solution you'd like
Bring back the ability to provide the token at time of instantiating the client

Describe alternatives you've considered
If there is a solution for this already that is great. Just dont see it documented.

Additional context
Tiny nitpick, but I think would be a nice touch to bring back

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage meI really want to be triaged.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions