python-consul
python-consul copied to clipboard
fix txn token,dc and consistency
fixes #148
added auto-decode for values
Hi @amuhametov, Thank you for your PR! I will review your PR soon. Stay tuned!
@amuhametov, I have added comments to your PR. In short:
- doc strings needs to be updated
- I suggest to hide encoding/decoding into method logic. After this encoding and decoding are transparent to user similarly to current KV put() method logic. This can break API backward compatibility. If nobody is against I prefer to move in this direction.
- migrate params from dict format to list format
@matusvalo are you sure we should break the API? I think it is wrong to annoy users. Rolled back API change.
@cablehead @matusvalo guys?
ping