infinispan / infinispan/python-client
Writing python object to remote cache
- 主要言語
- C++
- スター
- 17
- フォーク
- 12
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
python-client/__init__.py の 62 行目から始め、cache.put("sampleObject" + str(x), objtemp1) の経路を追跡してください。SampleObject で TypeError を再現し、プロジェクトがサポートするシリアライズ動作を特定してください。完了条件は、Python オブジェクトをリモートキャッシュに書き込むための、文書化または実装された解決策と、その結果を示すテストまたは例です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- distributed-systems
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100