(self, token: str)
| 89 | |
| 90 | class 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( |