8000 Fixes #967 and #365 by merowinger92 · Pull Request #994 · fastapi/fastapi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

Fixes #967 and #365 #994

Merged
merged 3 commits into from
Feb 28, 2020
Merged

Fixes #967 and #365 #994

merged 3 commits into from
Feb 28, 2020

Conversation

merowinger92
Copy link
Contributor

When generating the openapi.json-parameters list only unique values are used according to their 'name' attribute.

@codecov
Copy link
codecov bot commented Feb 18, 2020

Codecov Report

Merging #994 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #994   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files         294    295    +1     
  Lines        7732   7749   +17     
=====================================
+ Hits         7732   7749   +17
Impacted Files Coverage Δ
fastapi/openapi/utils.py 100% <100%> (ø) ⬆️
tests/test_param_in_path_and_dependency.py 100% <100%> (ø)

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 9c3c9b6...97f464a. Read the comment docs.

@dmontagu
Copy link
Collaborator

@tiangolo looks like something is messed up with the netlify CI for pull requests? I think that might be related to why the codecov didn't hit 100%?

@peaceiris
Copy link

@dmontagu I opened #1023 to fix that.

@tiangolo tiangolo merged commit 74c4d1c into fastapi:master Feb 28, 2020
@tiangolo
Copy link
Member

Thanks @merowinger92 ! Good job! 🚀 🍰

I added a test to very the fix and make sure we avoid regressions.

@dmontagu Yeah, I think the coverage miss was related to 2 versions of Python (3.6 and >=3.7) with the back ports. Not sure why one of them could not have finished, but 8000 now they passed.

At the same time, there was the issue with the Netlify deploys 🤦‍♂️ : During the last months I was running out of the free build time allowance and they were already charging me. So, to remove that extra cost I added deploys with GitHub actions, but they can't work with PRs from forks (in the straightforward implementation).

But it's sort of solved now. There's more context about the Netlify deploys here #1046 and here #1047

@peaceiris Thanks! The issue was actually about these deploys not working for PRs from forks, but it's more or less handled in #1046 and #1047 . I'll check your PR later 🙂

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
0