Merge SkyvernSdk and Skyvern extending Fern client (#3987)

Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
Stanislav Novosad
2025-11-12 15:44:53 -07:00
committed by GitHub
parent d88ca1ca27
commit e1595abf84
14 changed files with 360 additions and 699 deletions

View File

@@ -3,10 +3,9 @@ from typing import Any
if typing.TYPE_CHECKING:
from skyvern.library.skyvern import Skyvern # noqa: E402
from skyvern.library.skyvern_sdk import SkyvernSdk # noqa: E402
# noinspection PyUnresolvedReferences
__all__ = ["Skyvern", "SkyvernSdk"]
__all__ = ["Skyvern"]
def __getattr__(name: str) -> Any:
@@ -16,9 +15,4 @@ def __getattr__(name: str) -> Any:
globals()["Skyvern"] = Skyvern
return Skyvern
if name == "SkyvernSdk":
from skyvern.library.skyvern_sdk import SkyvernSdk # noqa: PLC0415
globals()["SkyvernSdk"] = SkyvernSdk
return SkyvernSdk
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")