Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supports argument score_cast_func in zrangebyscore() #194

Merged
merged 4 commits into from
Jun 15, 2018

Commits on Jun 8, 2018

  1. Configuration menu
    Copy the full SHA
    fdff224 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2018

  1. Configuration menu
    Copy the full SHA
    b0eea8d View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2018

  1. Configuration menu
    Copy the full SHA
    777e25e View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2018

  1. Handle decode_responses correctly for score_cast_func

    When decode_responses is true, the score_cast_func is passed text, not
    bytes. To handle this, the score_cast_func handling code was unified in
    one helper function which deals with the different cases. It also has a
    cut-through path for the default score_cast_func to avoid a lot of
    unnecessarily float -> bytes -> text -> float casting.
    
    The unit test is made stricted to check the type exactly.
    bmerry committed Jun 15, 2018
    Configuration menu
    Copy the full SHA
    aa6ff54 View commit details
    Browse the repository at this point in the history