Skip to content

Commit 63e833a

Browse files
committed
black .
1 parent bccd817 commit 63e833a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

workos/api_keys.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ def __init__(self, http_client: SyncHTTPClient):
3131

3232
def validate_api_key(self, *, value: str) -> Optional[ApiKey]:
3333
response = self._http_client.request(
34-
API_KEY_VALIDATION_PATH, method=REQUEST_METHOD_POST, json={
35-
"value": value}
34+
API_KEY_VALIDATION_PATH, method=REQUEST_METHOD_POST, json={"value": value}
3635
)
3736
if response.get(RESOURCE_OBJECT_ATTRIBUTE_NAME) is None:
3837
return None
@@ -47,8 +46,7 @@ def __init__(self, http_client: AsyncHTTPClient):
4746

4847
async def validate_api_key(self, *, value: str) -> Optional[ApiKey]:
4948
response = await self._http_client.request(
50-
API_KEY_VALIDATION_PATH, method=REQUEST_METHOD_POST, json={
51-
"value": value}
49+
API_KEY_VALIDATION_PATH, method=REQUEST_METHOD_POST, json={"value": value}
5250
)
5351
if response.get(RESOURCE_OBJECT_ATTRIBUTE_NAME) is None:
5452
return None

0 commit comments

Comments
 (0)