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

Fix type hint annotations of expire time #2361

Merged
merged 4 commits into from
Aug 29, 2022

Commits on Aug 26, 2022

  1. fix typehint annotations of expire time.

    `ExpiryT` includes `float` type, but params of expiry-time (`ex`, `px`) for methods such as `set`, `expire`, `setnx`, etc. , should be `int`, not `float`.
    lucas-six authored Aug 26, 2022
    Configuration menu
    Copy the full SHA
    0e2a247 View commit details
    Browse the repository at this point in the history
  2. add IntExpiryT annotation.

    lucas-six committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    dec2108 View commit details
    Browse the repository at this point in the history
  3. minor fix.

    lucas-six committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    5fc4b22 View commit details
    Browse the repository at this point in the history
  4. minor fix.

    lucas-six authored Aug 26, 2022
    Configuration menu
    Copy the full SHA
    01d5104 View commit details
    Browse the repository at this point in the history