Skip to content

A $ref may be a property name and in such cases it's not hashable #124

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

Merged
merged 2 commits into from
May 12, 2021

Conversation

arcivanov
Copy link
Contributor

This is not a "proper fix" as the proper fix should check if $ref
is used as a name of the property, but this works for the purposes of #123

fixes #123

@arcivanov arcivanov force-pushed the issue_123 branch 2 times, most recently from 8f5bb55 to c72d85b Compare April 6, 2021 12:01
This is not a "proper fix" as the proper fix should check if `$ref`
is used as a name of the property, but this works for the purposes of python-openapi#123

fixes python-openapi#123
@codecov
Copy link

codecov bot commented Apr 6, 2021

Codecov Report

Merging #124 (aec9ad2) into master (2adca8a) will increase coverage by 0.19%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #124      +/-   ##
==========================================
+ Coverage   98.26%   98.46%   +0.19%     
==========================================
  Files          19       19              
  Lines         518      520       +2     
==========================================
+ Hits          509      512       +3     
+ Misses          9        8       -1     
Impacted Files Coverage Δ
openapi_spec_validator/decorators.py 97.56% <100.00%> (+2.43%) ⬆️
openapi_spec_validator/validators.py 99.07% <0.00%> (+<0.01%) ⬆️

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 2adca8a...aec9ad2. Read the comment docs.

@p1c2u
Copy link
Collaborator

p1c2u commented May 12, 2021

@arcivanov thank you for the contribution

@p1c2u p1c2u merged commit 5a326ed into python-openapi:master May 12, 2021
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.

TypeError: unhashable type: 'dict' validating K8S v1.18 openapi.json
2 participants