Skip to content

Custom serializer lookup is broken [API-1669] #591

@yuce

Description

@yuce

Reproducer:

class Foo:
    pass

client = HazelcastClient()
m = client.get_map("test").blocking()
m.set("foo", Foo)

Fails with:

File "/home/yuce/Work/Projects/hazelcast-python-client/hazelcast/serialization/service.py", line 447, in lookup_custom_serializer
    for super_type in obj_type.__subclasses__():
hazelcast.errors.HazelcastSerializationError: unbound method type.__subclasses__() needs an argument

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions