Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Commit 0d93fd2

Browse files
committed
fix: more ci fixes
1 parent cf98d74 commit 0d93fd2

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

literalai/api/asynchronous.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
from typing_extensions import deprecated
55
from typing import (
6-
TYPE_CHECKING,
76
Any,
87
Callable,
98
Dict,
@@ -148,7 +147,7 @@ def raise_error(error):
148147
logger.error(f"Failed to {description}: {error}")
149148
raise Exception(error)
150149

151-
variables = _prepare_variables(variables)
150+
variables = prepare_variables(variables)
152151

153152
async with httpx.AsyncClient(follow_redirects=True) as client:
154153
response = await client.post(

literalai/api/synchronous.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
from typing_extensions import deprecated
55
from typing import (
6-
TYPE_CHECKING,
76
Any,
87
Callable,
98
Dict,
@@ -105,9 +104,6 @@
105104
from literalai.observability.thread import Thread
106105
from literalai.prompt_engineering.prompt import Prompt, ProviderSettings
107106

108-
if TYPE_CHECKING:
109-
from typing import Tuple # noqa: F401
110-
111107
import httpx
112108

113109
from literalai.my_types import PaginatedResponse, User
@@ -150,7 +146,7 @@ def raise_error(error):
150146
logger.error(f"Failed to {description}: {error}")
151147
raise Exception(error)
152148

153-
variables = _prepare_variables(variables)
149+
variables = prepare_variables(variables)
154150
with httpx.Client(follow_redirects=True) as client:
155151
response = client.post(
156152
self.graphql_endpoint,

0 commit comments

Comments
 (0)