Skip to content

Commit 364578d

Browse files
Merge branch 'main' into fix/header-forwarding-temporal
2 parents 6d95eff + 2dd6623 commit 364578d

File tree

100 files changed

+193
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+193
-0
lines changed

examples/tutorials/10_agentic/00_base/040_other_sdks/project/acp.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import os
24
import json
35
from typing import Dict, List, Optional

examples/tutorials/10_agentic/00_base/080_batch_events/dev.ipynb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
"metadata": {},
88
"outputs": [],
99
"source": [
10+
"from __future__ import annotations\n",
11+
"\n",
1012
"from agentex import Agentex\n",
1113
"\n",
1214
"client = Agentex(base_url=\"http://localhost:5003\")"

examples/tutorials/10_agentic/00_base/090_multi_agent_non_temporal/project/orchestrator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Orchestrator Agent - Coordinates the multi-agent content creation workflow
2+
from __future__ import annotations
23

34
import sys
45
import json

examples/tutorials/10_agentic/00_base/090_multi_agent_non_temporal/project/state_machines/content_workflow.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# ruff: noqa: ARG002
2+
from __future__ import annotations
3+
24
import json
35
import asyncio
46
from enum import Enum

examples/tutorials/10_agentic/10_temporal/020_state_machine/project/workflows/deep_research/waiting_for_user_input.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
from typing import override
24

35
from temporalio import workflow

examples/tutorials/10_agentic/10_temporal/050_agent_chat_guardrails/project/workflow.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# ruff: noqa: ARG001
2+
from __future__ import annotations
3+
24
import os
35
import json
46
from typing import Any, Dict, List, override

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ exclude = [
189189
".git",
190190
"agentex-server",
191191
"examples/tutorials",
192+
# Exclude autogenerated Stainless code from type checking
193+
"src/agentex/resources",
194+
"src/agentex/types",
192195
]
193196

194197
reportImplicitOverride = true
@@ -329,6 +332,10 @@ extra-standard-library = ["typing_extensions"]
329332
known-first-party = ["agentex", "tests"]
330333

331334
[tool.ruff.lint.per-file-ignores]
335+
# Exclude autogenerated files from future annotations requirement
336+
"src/agentex/resources/**.py" = ["FA102"]
337+
"src/agentex/types/**.py" = ["FA102"]
338+
"src/agentex/_*.py" = ["FA102"]
332339
"bin/**.py" = ["T201", "T203"]
333340
"scripts/**.py" = ["T201", "T203"]
334341
"tests/**.py" = ["T201", "T203", "ARG001", "ARG002", "ARG005"]

src/agentex/lib/adk/_modules/acp.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# ruff: noqa: I001
22
# Import order matters - AsyncTracer must come after client import to avoid circular imports
3+
from __future__ import annotations
34
from datetime import timedelta
45
from typing import Any, List
56

src/agentex/lib/adk/_modules/agent_task_tracker.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# ruff: noqa: I001
22
# Import order matters - AsyncTracer must come after client import to avoid circular imports
3+
from __future__ import annotations
34
from datetime import timedelta
45

56
from temporalio.common import RetryPolicy

src/agentex/lib/adk/_modules/events.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# ruff: noqa: I001
22
# Import order matters - AsyncTracer must come after client import to avoid circular imports
3+
from __future__ import annotations
34
from datetime import timedelta
45

56
from temporalio.common import RetryPolicy

0 commit comments

Comments
 (0)