Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Apr 15, 2024. It is now read-only.

Conversation

@amuhametov
Copy link

fixes #148

@amuhametov
Copy link
Author

added auto-decode for values

@matusvalo
Copy link
Collaborator

Hi @amuhametov, Thank you for your PR! I will review your PR soon. Stay tuned!

is_id=False,
index=False):
index=False,
txn=False):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to add new parameters to docs string?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

token=None,
consistency=None,
dc=None,
decode=False):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about this but I prefer to hide encoding/decoding logic from user. This will break API but it will be more clear. Is there any objection against it? Moreover, new parameters should be documented in doc string.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@matusvalo
Copy link
Collaborator

matusvalo commented Aug 27, 2018

@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

@amuhametov
Copy link
Author

amuhametov commented Oct 8, 2018

@matusvalo are you sure we should break the API?
I think it is wrong to annoy users. Rolled back API change.

@amuhametov
Copy link
Author

@cablehead @matusvalo guys?

@amuhametov
Copy link
Author

ping

@poppyred
Copy link

poppyred commented Oct 10, 2019

#225 @amuhametov welcome to here

ping

@cablehead cablehead force-pushed the master branch 2 times, most recently from 636f367 to a91daae Compare April 15, 2024 01:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for txn in HTTP API

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.