Skip to content

Commit d2c6a96

Browse files
committed
chore: fix 3.8 compatibility
1 parent a45c8dc commit d2c6a96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

faststream/asyncapi/generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def get_app_schema(app: "AsyncAPIApplication") -> Schema:
3434
for ch in channels.values():
3535
ch.servers = list(servers.keys())
3636

37-
channels |= get_asgi_routes(app)
37+
channels.update(get_asgi_routes(app))
3838

3939
messages: Dict[str, Message] = {}
4040
payloads: Dict[str, Dict[str, Any]] = {}

0 commit comments

Comments
 (0)