Skip to content

Commit

Permalink
Small changes to repr strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Xewdy444 committed Dec 18, 2023
1 parent 080cfc1 commit 864fa19
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions playwright_recaptcha/recaptchav2/recaptcha_box.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,10 @@ def __init__(self, anchor_frame: SyncFrame, bframe_frame: SyncFrame) -> None:
self._bframe_frame = bframe_frame

def __repr__(self) -> str:
return f"SyncRecaptchaBox(anchor_frame={self._anchor_frame!r}, bframe_frame={self._bframe_frame!r})"
return (
f"SyncRecaptchaBox(anchor_frame={self._anchor_frame!r}, "
f"bframe_frame={self._bframe_frame!r})"
)

@classmethod
def from_frames(cls, frames: Iterable[SyncFrame]) -> SyncRecaptchaBox:
Expand Down Expand Up @@ -489,7 +492,10 @@ def __init__(self, anchor_frame: AsyncFrame, bframe_frame: AsyncFrame) -> None:
self._bframe_frame = bframe_frame

def __repr__(self) -> str:
return f"AsyncRecaptchaBox(anchor_frame={self._anchor_frame!r}, bframe_frame={self._bframe_frame!r})"
return (
f"AsyncRecaptchaBox(anchor_frame={self._anchor_frame!r}, "
f"bframe_frame={self._bframe_frame!r})"
)

@classmethod
async def from_frames(cls, frames: Iterable[AsyncFrame]) -> AsyncRecaptchaBox:
Expand Down

0 comments on commit 864fa19

Please sign in to comment.