Skip to content

deps: Upgrade redis stubs #399

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

Closed
wants to merge 1 commit into from
Closed

Conversation

sondrelg
Copy link
Contributor

Quick clean-up PR. Noticed there were a lot of Redis-pipeline mypy errors that shouldn't occur with the latest version of types-redis.

Not 100% sure if Pipeline[bytes] is the appropriate annotation here, so please let me know if not. Also, if you have a better suggestion for how to fix types inference for the pipeline variables, that's of course very welcome; the manual definitions are not ideal.

@codecov
Copy link

codecov bot commented May 20, 2023

Codecov Report

Merging #399 (41dd920) into main (9109c2e) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #399   +/-   ##
=======================================
  Coverage   98.66%   98.66%           
=======================================
  Files          11       11           
  Lines        1052     1052           
  Branches      199      199           
=======================================
  Hits         1038     1038           
  Misses          6        6           
  Partials        8        8           
Impacted Files Coverage Δ
arq/connections.py 95.20% <100.00%> (ø)
arq/jobs.py 98.15% <100.00%> (ø)
arq/worker.py 99.16% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9109c2e...41dd920. Read the comment docs.

Copy link
Collaborator

@JonasKs JonasKs left a comment

Choose a reason for hiding this comment

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

Nice! 😊

@phy1729
Copy link
Contributor

phy1729 commented May 26, 2023

The pipeline types aren't being inferred correctly due to mypy. If the latest mypy version is used, those hints are no longer needed.

I've submitted #403 to update mypy, but it'll conflict with your PR. If this PR is merged first I can rebase and add a commit to remove the hints.

rossmacarthur pushed a commit to hunchdata/arq that referenced this pull request Mar 4, 2024
@samuelcolvin
Copy link
Member

Thanks so much for the contribution, this is replaced by #439 where I've fixed lots of related things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants