You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do not see a generic way to introduce pathlib serializer and deserializer in Pyro5. I saw example for custom classes but I do not see in APi that I can do something like:
@Pyro5.serializers.serializer('pathlib)
Could you elaborate on this ...
The text was updated successfully, but these errors were encountered:
I am using 3.13 Python. Yes when dict has key value pair with value as PosixPath then serpent serialization/de-serialization will fail.
I mean it is easier for me to just revert to string representation .as_posix() but I wanted to write custom serializer and go that way.
Frankly I do not like per-type or per-class serializes but I guess there is reason for that.
I do not see a generic way to introduce pathlib serializer and deserializer in Pyro5. I saw example for custom classes but I do not see in APi that I can do something like:
@Pyro5.serializers.serializer('pathlib)
Could you elaborate on this ...
The text was updated successfully, but these errors were encountered: