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

Skip to content

Fix attempt to relative import in 'Testing' code examples#3380

Closed
manlix wants to merge 1 commit into
fastapi:masterfrom
manlix:relative-import
Closed

Fix attempt to relative import in 'Testing' code examples#3380
manlix wants to merge 1 commit into
fastapi:masterfrom
manlix:relative-import

Conversation

@manlix

@manlix manlix commented Jun 16, 2021

Copy link
Copy Markdown
Contributor

Fix for issue in documentation example code #3381

@github-actions

Copy link
Copy Markdown
Contributor

📝 Docs preview for commit 815153f at: https://60ca644a9f310800cfdc5a9d--fastapi.netlify.app

@ArcLightSlavik ArcLightSlavik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We use relative explicit relative import everywhere in the docs, so we need to either change it everywhere or add a diagram like here: https://fastapi.tiangolo.com/tutorial/sql-databases/#file-structure

Also would require fixing a lot of tests.

@tiangolo

Copy link
Copy Markdown
Member

Thanks for the effort! I handled it here: #5302

I'll close this one now. 🍰

@tiangolo tiangolo closed this Aug 24, 2022
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