Skip to content

Commit 45ca6d7

Browse files
committed
fixed minor bugs
1 parent d0afa35 commit 45ca6d7

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
"""Public components: re-exports Pydantic schemas (topology)."""
22
from __future__ import annotations
33

4+
from asyncflow.schemas.event.injection import EventInjection
45
from asyncflow.schemas.topology.edges import Edge
56
from asyncflow.schemas.topology.endpoint import Endpoint
6-
from asyncflow.schemas.event.injection import EventInjection
77
from asyncflow.schemas.topology.nodes import (
88
Client,
99
LoadBalancer,
@@ -12,13 +12,13 @@
1212
)
1313

1414
__all__ = [
15-
"Client",
16-
"Edge",
15+
"Client",
16+
"Edge",
17+
"Endpoint",
1718
"EventInjection",
18-
"Endpoint",
19-
"LoadBalancer",
20-
"Server",
21-
"ServerResources"
19+
"LoadBalancer",
20+
"Server",
21+
"ServerResources",
2222
]
2323

2424

tests/unit/public_api/test_import.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
Client,
1515
Edge,
1616
Endpoint,
17+
EventInjection,
1718
LoadBalancer,
1819
Server,
1920
ServerResources,
@@ -43,6 +44,7 @@ def test_components_public_symbols() -> None:
4344
"Client",
4445
"Edge",
4546
"Endpoint",
47+
"EventInjection",
4648
"LoadBalancer",
4749
"Server",
4850
"ServerResources",
@@ -57,6 +59,7 @@ def test_components_symbols_are_importable_classes() -> None:
5759
(Client, "Client"),
5860
(Edge, "Edge"),
5961
(Endpoint, "Endpoint"),
62+
(EventInjection, "EventInjection"),
6063
(LoadBalancer, "LoadBalancer"),
6164
(Server, "Server"),
6265
(ServerResources, "ServerResources"),

0 commit comments

Comments
 (0)