Skip to content

Commit 1aac85c

Browse files
author
Roxanne Farhad
committed
fixing uv lock
1 parent 10af124 commit 1aac85c

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

src/agentex/lib/cli/commands/agents.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@
2626
from agentex.lib.cli.handlers.agent_handlers import (
2727
run_agent,
2828
build_agent,
29-
prepare_cloud_build_context,
3029
parse_build_args,
31-
CloudBuildContext,
30+
prepare_cloud_build_context,
3231
)
3332
from agentex.lib.cli.handlers.deploy_handlers import (
3433
HelmError,

src/agentex/lib/cli/handlers/agent_handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from __future__ import annotations
22

3-
from pathlib import Path
43
from typing import NamedTuple
4+
from pathlib import Path
55

66
from rich.console import Console
77
from python_on_whales import DockerException, docker

src/agentex/lib/sdk/config/deployment_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from typing import Any, Dict
44

5-
from pydantic import ConfigDict, Field
5+
from pydantic import Field
66

77
from agentex.lib.utils.model_utils import BaseModel
88

tests/lib/cli/test_agent_handlers.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
import tarfile
77
import tempfile
88
from pathlib import Path
9+
from collections.abc import Iterator
910

1011
import pytest
1112
from typer.testing import CliRunner
1213

14+
from agentex.lib.cli.commands.agents import agents
1315
from agentex.lib.cli.handlers.agent_handlers import (
1416
CloudBuildContext,
1517
parse_build_args,
1618
prepare_cloud_build_context,
1719
)
18-
from agentex.lib.cli.commands.agents import agents
19-
2020

2121
runner = CliRunner()
2222

@@ -54,7 +54,7 @@ class TestPrepareCloudBuildContext:
5454
"""Tests for prepare_cloud_build_context function."""
5555

5656
@pytest.fixture
57-
def temp_agent_dir(self) -> Path:
57+
def temp_agent_dir(self) -> Iterator[Path]:
5858
"""Create a temporary agent directory with minimal required files."""
5959
with tempfile.TemporaryDirectory() as tmpdir:
6060
agent_dir = Path(tmpdir)
@@ -96,7 +96,7 @@ def temp_agent_dir(self) -> Path:
9696
yield agent_dir
9797

9898
@pytest.fixture
99-
def temp_agent_dir_no_deployment(self) -> Path:
99+
def temp_agent_dir_no_deployment(self) -> Iterator[Path]:
100100
"""Create a temporary agent directory without deployment config."""
101101
with tempfile.TemporaryDirectory() as tmpdir:
102102
agent_dir = Path(tmpdir)
@@ -260,7 +260,7 @@ class TestPackageCommand:
260260
"""Tests for the 'agentex agents package' CLI command."""
261261

262262
@pytest.fixture
263-
def temp_agent_dir(self) -> Path:
263+
def temp_agent_dir(self) -> Iterator[Path]:
264264
"""Create a temporary agent directory with minimal required files."""
265265
with tempfile.TemporaryDirectory() as tmpdir:
266266
agent_dir = Path(tmpdir)

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)