Skip to content

Switch to a different method of resolving ForwardRefs during deserialization for python 3.10.2 compatibility - #503

Merged
JWCook merged 1 commit into
requests-cache:masterfrom
JWCook:py3.10.2-compat
Jan 15, 2022
Merged

JWCook merged 1 commit into
requests-cache:masterfrom
JWCook:py3.10.2-compat

Conversation

@JWCook

@JWCook JWCook commented Jan 15, 2022

Copy link
Copy Markdown
Member

Closes #501

@JWCook JWCook added the bug label Jan 15, 2022
@JWCook JWCook added this to the v0.9 milestone Jan 15, 2022
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

Merging #503 (4c8e386) into master (0b8f7c8) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #503   +/-   ##
=======================================
  Coverage   98.76%   98.76%           
=======================================
  Files          18       18           
  Lines        1293     1293           
  Branches      187      187           
=======================================
  Hits         1277     1277           
  Misses          8        8           
  Partials        8        8           
Impacted Files Coverage Δ
requests_cache/serializers/cattrs.py 92.85% <100.00%> (ø)

Continue to review full report at Codecov.

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

@JWCook
JWCook merged commit ddf7ad8 into requests-cache:master Jan 15, 2022
@JWCook
JWCook deleted the py3.10.2-compat branch January 15, 2022 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when running on python 3.10.2 & 3.9.10 - TypeError: ForwardRef('...') is not a class

2 participants