Thanks to visit codestin.com
Credit goes to github.com

Skip to content

📝 Update all docs to use Annotated as the main recommendation, with new examples and tests#9268

Merged
tiangolo merged 79 commits into
masterfrom
annotated-docs-tests
Mar 18, 2023
Merged

📝 Update all docs to use Annotated as the main recommendation, with new examples and tests#9268
tiangolo merged 79 commits into
masterfrom
annotated-docs-tests

Conversation

@tiangolo

Copy link
Copy Markdown
Member

📝 Update all docs to use Annotated as the main recommendation, with new examples and tests

tiangolo added 30 commits March 17, 2023 21:44
@github-actions

github-actions Bot commented Mar 17, 2023

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot temporarily deployed to pull request March 17, 2023 22:51 Inactive
@github-actions

Copy link
Copy Markdown
Contributor

📝 Docs preview for commit 742da53 at: https://6414ef1f43a77a4d73284d90--fastapi.netlify.app

@github-actions github-actions Bot temporarily deployed to pull request March 17, 2023 23:03 Inactive
@github-actions

Copy link
Copy Markdown
Contributor

📝 Docs preview for commit 87d56fa at: https://6414f1f6cfc66b4b3c3b7d70--fastapi.netlify.app

…out Annotated, as it's covered in all the rest of the docs
@github-actions github-actions Bot temporarily deployed to pull request March 17, 2023 23:13 Inactive
@github-actions

Copy link
Copy Markdown
Contributor

📝 Docs preview for commit df130dd at: https://6414f42597a24a4fc8ec17af--fastapi.netlify.app

@nzig

nzig commented Mar 18, 2023

Copy link
Copy Markdown
Contributor

Hey @tiangolo, I'm not sure what you meant by the sentence

Try to use the main, Annotated version better.

in all the examples. It sounds a bit weird to me. Maybe something like

Prefer to use the Annotated version if possible.

would be clearer?

@tiangolo

Copy link
Copy Markdown
Member Author

Sounds good! Just made another PR with that change here: #9270

@a-was

a-was commented Mar 19, 2023

Copy link
Copy Markdown

@tiangolo
What about database docs?
https://fastapi.tiangolo.com/tutorial/sql-databases/#create-your-fastapi-path-operations
Everywhere I can see db: Session = Depends(get_db)

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.

3 participants