Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
isahers1 committed Jun 27, 2024
1 parent d93f7bc commit 7a532f1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
18 changes: 6 additions & 12 deletions libs/sdk-py/langgraph_sdk/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,7 @@ def stream(
interrupt_after: Optional[list[str]] = None,
feedback_keys: Optional[list[str]] = None,
multitask_strategy: Optional[MultitaskStrategy] = None,
) -> AsyncIterator[StreamPart]:
...
) -> AsyncIterator[StreamPart]: ...

@overload
def stream(
Expand All @@ -455,8 +454,7 @@ def stream(
interrupt_before: Optional[list[str]] = None,
interrupt_after: Optional[list[str]] = None,
feedback_keys: Optional[list[str]] = None,
) -> AsyncIterator[StreamPart]:
...
) -> AsyncIterator[StreamPart]: ...

def stream(
self,
Expand Down Expand Up @@ -509,8 +507,7 @@ async def create(
interrupt_before: Optional[list[str]] = None,
interrupt_after: Optional[list[str]] = None,
webhook: Optional[str] = None,
) -> Run:
...
) -> Run: ...

@overload
async def create(
Expand All @@ -526,8 +523,7 @@ async def create(
interrupt_after: Optional[list[str]] = None,
webhook: Optional[str] = None,
multitask_strategy: Optional[MultitaskStrategy] = None,
) -> Run:
...
) -> Run: ...

async def create(
self,
Expand Down Expand Up @@ -574,8 +570,7 @@ async def wait(
interrupt_before: Optional[list[str]] = None,
interrupt_after: Optional[list[str]] = None,
multitask_strategy: Optional[MultitaskStrategy] = None,
) -> Union[list[dict], dict[str, Any]]:
...
) -> Union[list[dict], dict[str, Any]]: ...

@overload
async def wait(
Expand All @@ -588,8 +583,7 @@ async def wait(
config: Optional[Config] = None,
interrupt_before: Optional[list[str]] = None,
interrupt_after: Optional[list[str]] = None,
) -> Union[list[dict], dict[str, Any]]:
...
) -> Union[list[dict], dict[str, Any]]: ...

async def wait(
self,
Expand Down
5 changes: 2 additions & 3 deletions libs/sdk-py/langgraph_sdk/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,8 @@ class Run(TypedDict):
multitask_strategy: MultitaskStrategy
"""Strategy to handle concurrent runs on the same thread."""

class Cron(TypedDict):
"""Cron model."""

class Cron(TypedDict):
cron_id: str
"""The ID of the cron."""
thread_id: Optional[str]
Expand All @@ -126,4 +125,4 @@ class Cron(TypedDict):
updated_at: datetime
"""The last time the cron was updated."""
payload: dict
"""The run payload to use for creating new run."""
"""The run payload to use for creating new run."""

0 comments on commit 7a532f1

Please sign in to comment.