Grr pydantic being a weirdo

ems_to_bidir_streaming
Tyler Goodlet 2021-06-10 08:37:21 -04:00
parent a9cbacd8aa
commit a9cc3210d8
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ In da suit parlances: "Execution management systems"
from pprint import pformat
import time
from dataclasses import dataclass, field
from typing import AsyncIterator, Callable
from typing import AsyncIterator, Callable, Any
from bidict import bidict
from pydantic import BaseModel
@ -817,7 +817,7 @@ class _Router(BaseModel):
'''
nursery: trio.Nursery
feeds: dict[tuple[str, str], data.feed.Feed] = {}
feeds: dict[tuple[str, str], Any] = {}
books: dict[str, _DarkBook] = {}
class Config: