Skip to content

Commit e6af2cc

Browse files
committed
Run black
1 parent fd905a5 commit e6af2cc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

workos/resources/user_management.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ def construct_from_response(cls, response):
2222
authentication_response.user = user
2323

2424
if "impersonator" in response:
25-
impersonator = WorkOSImpersonator.construct_from_response(response["impersonator"])
25+
impersonator = WorkOSImpersonator.construct_from_response(
26+
response["impersonator"]
27+
)
2628
authentication_response.impersonator = impersonator
2729
else:
2830
authentication_response.impersonator = None
@@ -129,6 +131,7 @@ class WorkOSUser(WorkOSBaseResource):
129131
"updated_at",
130132
]
131133

134+
132135
class WorkOSImpersonator(WorkOSBaseResource):
133136
"""Representation of a WorkOS Dashboard member impersonating a user
134137

workos/webhooks.py

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ def request_helper(self):
2323
DEFAULT_TOLERANCE = 180
2424

2525
def verify_event(self, payload, sig_header, secret, tolerance=DEFAULT_TOLERANCE):
26-
2726
if payload is None:
2827
raise ValueError("Payload body is missing and is a required parameter")
2928
if sig_header is None:

0 commit comments

Comments
 (0)