Skip to content

Writing python object to remote cache #9

@sonalm

Description

@sonalm

I have a SampleObject in python which i am trying to write to remoteCache using:

objtemp1 = SampleObject()
cache.put("sampleObject" + str(x) , objtemp1)

But, it gives me this error:

File "/python-client-master/infinispan/init.py", line 62, in
to_varint(len(v)) + v
TypeError: cannot concatenate 'str' and 'SampleObject' objects

I think it is something related to serialization of python object. Can someone help with the error and possible solution.

Thanks,
Sonal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions