-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to define custom transmute? #97
Labels
enhancement
New feature or request
Projects
Comments
Thanks for raising this issue, this relates to the work described in #56. I'll take this approach under consideration when I re-define the API for registering custom Ser/Des protocols! |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Hey, @seandstewart . There's some cases which user want to define custom
transmute
:Expect:
However, after decorated by
typic.klass
,transmute
is replaced.What I Did
Currently, I have to define a metaclass as following:
But, there's some error with pycharm type hinting.
The text was updated successfully, but these errors were encountered: