Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
remove dead code in aws.py - execute_with_async_client (#2287)
Shuchang Zheng28b1ff48728e
diff --git a/skyvern/forge/sdk/api/aws.py b/skyvern/forge/sdk/api/aws.pyindex 584a3bf42..6c8130e10 100644--- a/skyvern/forge/sdk/api/aws.py+++ b/skyvern/forge/sdk/api/aws.py@@ -1,5 +1,5 @@from enum import StrEnum-from typing import IO, Any, Callable+from typing import IO, Anyfrom urllib.parse import urlparseimport aioboto3@@ -16,20 +16,6 @@ class AWSClientType(StrEnum):ECS = "ecs"-def execute_with_async_client(client_type: AWSClientType) -> Callable:- def decorator(f: Callable) -> Callable:- async def wrapper(*args: list[Any], **kwargs: dict[str, Any]) -> Any:- self = args[0]- assert isinstance(self, AsyncAWSClient)- session = aioboto3.Session()- async with session.client(client_type, region_name=settings.AWS_REGION) as client:- return await f(*args, client=client, **kwargs)-- return wrapper-- return decorator--class AsyncAWSClient:def __init__(self,