- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for structure (0.44 sec)
-
docs/en/docs/tutorial/bigger-applications.md
**FastAPI** provides a convenience tool to structure your application while keeping all the flexibility. !!! info If you come from Flask, this would be the equivalent of Flask's Blueprints. ## An example file structure Let's say you have a file structure like this: ``` . ├── app │ ├── __init__.py │ ├── main.py │ ├── dependencies.py
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 18.6K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
<font color="#3465A4">INFO </font> Resolved absolute path <font color="#75507B">/home/user/code/awesomeapp/</font><font color="#AD7FA8">main.py</font> <font color="#3465A4">INFO </font> Searching for package file structure from directories with <font color="#3465A4">__init__.py</font> files <font color="#3465A4">INFO </font> Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font>
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 12K bytes - Viewed (0) -
docs/en/docs/contributing.md
<div class="termy"> ```console $ typer --install-completion zsh completion installed in /home/user/.bashrc. Completion will take effect once you restart the terminal. ``` </div> ### Docs Structure The documentation uses <a href="https://www.mkdocs.org/" class="external-link" target="_blank">MkDocs</a>. And there are extra tools/scripts in place to handle translations in `./scripts/docs.py`. !!! tip
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 17:42:43 GMT 2024 - 14.1K bytes - Viewed (0) -
docs/en/docs/how-to/sql-databases-peewee.md
So, we are going to focus only on the differences. ## File structure Let's say you have a directory named `my_super_project` that contains a sub-directory called `sql_app` with a structure like this: ``` . └── sql_app ├── __init__.py ├── crud.py ├── database.py ├── main.py └── schemas.py ``` This is almost the same structure as we had for the SQLAlchemy tutorial.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 16 13:23:25 GMT 2024 - 23.6K bytes - Viewed (1) -
docs/en/docs/tutorial/dependencies/index.md
```Python hl_lines="8-11" {!> ../../../docs_src/dependencies/tutorial001.py!} ``` That's it. **2 lines**. And it has the same shape and structure that all your *path operation functions* have. You can think of it as a *path operation function* without the "decorator" (without the `@app.get("/some-path")`). And it can return anything you want.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.6K bytes - Viewed (0) -
docs/en/docs/tutorial/sql-databases.md
In a similar way you could use any other ORM. !!! tip There's an equivalent article using Peewee here in the docs. ## File structure For these examples, let's say you have a directory named `my_super_project` that contains a sub-directory called `sql_app` with a structure like this: ``` . └── sql_app ├── __init__.py ├── crud.py ├── database.py ├── main.py ├── models.py
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 29.6K bytes - Viewed (0) -
docs/de/docs/features.md
Inklusive externer Bibliotheken, die auf Pydantic basieren, wie <abbr title="Object-Relational Mapper (Abbildung von Objekten auf relationale Strukturen)">ORM</abbr>s, <abbr title="Object-Document Mapper (Abbildung von Objekten auf nicht-relationale Strukturen)">ODM</abbr>s für Datenbanken. Daher können Sie in vielen Fällen das Objekt einer Anfrage **direkt zur Datenbank** schicken, weil alles automatisch validiert wird.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 19:43:43 GMT 2024 - 10.8K bytes - Viewed (0) -
docs/en/docs/deployment/docker.md
!!! tip Review what each line does by clicking each number bubble in the code. 👆 You should now have a directory structure like: ``` . ├── app │ ├── __init__.py │ └── main.py ├── Dockerfile └── requirements.txt ``` #### Behind a TLS Termination Proxy
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 34K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/index.md
```Python hl_lines="8-11" {!> ../../../docs_src/dependencies/tutorial001.py!} ``` Das war's schon. **Zwei Zeilen**. Und sie hat die gleiche Form und Struktur wie alle Ihre *Pfadoperation-Funktionen*. Sie können sie sich als *Pfadoperation-Funktion* ohne den „Dekorator“ (ohne `@app.get("/some-path")`) vorstellen. Und sie kann alles zurückgeben, was Sie möchten.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:01:10 GMT 2024 - 13.1K bytes - Viewed (0) -
docs/en/docs/python-types.md
* `int` * `float` * `bool` * `bytes` ```Python hl_lines="1" {!../../../docs_src/python_types/tutorial005.py!} ``` ### Generic types with type parameters There are some data structures that can contain other values, like `dict`, `list`, `set` and `tuple`. And the internal values can have their own type too.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17K bytes - Viewed (0)