forked from goodboy/tractor
1
0
Fork 0

Add msg serialization coding todo resources list

nspaths
Tyler Goodlet 2022-01-30 12:19:21 -05:00
parent adf9a1d0aa
commit 56b29c27de
1 changed files with 9 additions and 0 deletions

View File

@ -33,6 +33,15 @@ Built-in messaging patterns, types, APIs and helpers.
# the new "Implicit Namespace Packages" might be relevant?
# - https://www.python.org/dev/peps/pep-0420/
# add implicit serialized message type support so that paths can be
# handed directly to IPC primitives such as streams and `Portal.run()`
# calls:
# - via ``msgspec``:
# - https://jcristharif.com/msgspec/api.html#struct
# - https://jcristharif.com/msgspec/extending.html
# via ``msgpack-python``:
# - https://github.com/msgpack/msgpack-python#packingunpacking-of-custom-data-type
from __future__ import annotations
from pkgutil import resolve_name