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

utils.get_class_field_meta #35

Merged
merged 10 commits into from
Sep 16, 2020
Merged

utils.get_class_field_meta #35

merged 10 commits into from
Sep 16, 2020

Conversation

elacuesta
Copy link
Member

@elacuesta elacuesta commented Aug 27, 2020

Closes #34

Current tests pass with this change, I'll add some dedicated tests shortly. Naming suggestions are welcome.

@codecov
Copy link

codecov bot commented Aug 27, 2020

Codecov Report

Merging #35 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #35   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          111       130   +19     
=========================================
+ Hits           111       130   +19     
Impacted Files Coverage Δ
itemadapter/adapter.py 100.00% <100.00%> (ø)
itemadapter/utils.py 100.00% <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 3bc56f2...9de20fc. Read the comment docs.

itemadapter/utils.py Outdated Show resolved Hide resolved
itemadapter/utils.py Outdated Show resolved Hide resolved
@elacuesta elacuesta marked this pull request as ready for review September 9, 2020 15:28
itemadapter/utils.py Outdated Show resolved Hide resolved
@elacuesta
Copy link
Member Author

@Gallaecio please check again after a6af34a, I updated the docs and made some changes so the function fails for non item classes.

Copy link
Member

@kmike kmike left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@Gallaecio Gallaecio left a comment

Choose a reason for hiding this comment

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

Looks good to me, feel free to merge.

itemadapter/__init__.py Outdated Show resolved Hide resolved
@Gallaecio Gallaecio merged commit 4685de9 into master Sep 16, 2020
@elacuesta elacuesta deleted the item-class-metadata branch September 16, 2020 22:24
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.

Implement ItemClassAdapter
3 participants