Skip to content

Commit 0f923ae

Browse files
author
Andrei Neagu
committed
revert and use local implementation
1 parent 7b5e3ea commit 0f923ae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/pytest-simcore/src/pytest_simcore/helpers/playwright_sim4life.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
from typing import Final, TypedDict
66

77
import arrow
8-
from common_library.pydantic_type_adapters import ByteSizeAdapter
98
from playwright.sync_api import FrameLocator, Page, WebSocket, expect
9+
from pydantic import ByteSize, TypeAdapter
1010

1111
from .logging_tools import log_context
1212
from .playwright import (
@@ -32,6 +32,9 @@
3232
_S4L_COPY_WORKSPACE_TIME: Final[int] = 60 * SECOND
3333

3434

35+
ByteSizeAdapter: Final[TypeAdapter[ByteSize]] = TypeAdapter(ByteSize)
36+
37+
3538
@dataclass(kw_only=True)
3639
class S4LWaitForWebsocket:
3740
logger: logging.Logger

0 commit comments

Comments
 (0)