Looks to be supported on the server. Any ETA for browser support? Or is this somehow related to Skuplt?
4 Likes
Think this could be a little while - dataclasses requires a few other python libraries to be implemented (e.g. functools) that don’t exist client side yet…
Since I just wanted to write the exact same feature request, is there any news on the dataclass front?
1 Like
If only there were other requests that require functools…
functools has been implemented as of now but not completely. I suppose they are still working on more support for it.
# Client side
from functools import (
update_wrapper,
wraps,
total_ordering,
cmp_to_key,
cache, # python 3.9 but available on the client
lru_cache,
reduce,
partial,
partialmethod,
)
Currently missing:
singledispatch
-
cached_property
(python 3.8) -
singledispatchmethod
(python 3.8)
(has been available since May 2021)
2 Likes
ping also requesting dataclasses
1 Like