Ryan Morshead
Ryan Morshead
I would suggest adding and documenting `LaxGeneric` in V2 until this is ironed out in V3. My users are scientists, some of whom don't have the strongest coding skills and...
Is there any reasonable workaround for this, perhaps by overwriting `__get_pydantic_core_schema__`? I made a naive attempt to copy what `SerializeAsAny` does: ```python class MyModel(BaseModel): @classmethod def __get_pydantic_core_schema__(cls, source: type[Any], handler:...
Unfortunately both solutions appear to break if you use any custom types with specialized serialization logic. For example, I have a custom type annotation that serializes Pandas DataFrames into the...
Any details on what is broken about it?
Also, you might want to consider using [AnyWidget](https://github.com/manzt/anywidget) instead of this template.
I'd actually recommend the opposite - most code-blocks in docs probably aren't meant to be tested, so explicitly marking certain blocks as being tests would be preferable to the inverse...
For reference, I've updated the description to note that Jedi appears to implement the behavior I'd like given the example I provided. > You can omit the docstring for the...
Great. Thanks for digging into the issue. I Look forward to having it fixed!
Why shouldn't the PUBHandler accept an async socket? It seems like it would be valuable to avoid blocking calls to the socket whenever you hit log statements.
I think a separate `AsyncPUBHandler` makes a lot of sense. One way to address the first concern might be to copy `asyncio.mixins._LoopBoundMixin` which implements the following in order to lazily...