MCPcopy Create free account
hub / github.com/Flagsmith/flagsmith / __init__

Method __init__

api/integrations/launch_darkly/client.py:91–99  ·  view source on GitHub ↗
(self, token: str)

Source from the content-addressed store, hash-verified

89
90class LaunchDarklyClient:
91 def __init__(self, token: str) -> None:
92 client_session = Session()
93 client_session.headers.update(
94 {
95 "Authorization": token,
96 "LD-API-Version": LAUNCH_DARKLY_API_VERSION,
97 }
98 )
99 self.client_session = client_session
100
101 @launch_darkly_backoff
102 def _get_json_response(

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected