- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 334 for __init__ (1.26 sec)
-
docs/en/docs/deployment/docker.md
There are other formats and tools to define and install package dependencies. /// ### Create the **FastAPI** Code { #create-the-fastapi-code } * Create an `app` directory and enter it. * Create an empty file `__init__.py`. * Create a `main.py` file with: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root():Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Sep 20 12:58:04 UTC 2025 - 29.5K bytes - Viewed (1) -
docs/en/docs/tutorial/first-steps.md
<span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span> Starting development server 🚀 Searching for package file structure from directories with <font color="#3465A4">__init__.py</font> files Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font> <span style="background-color:#007166"><font color="#D3D7CF"> module </font></span> 🐍 main.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 12.8K bytes - Viewed (0) -
docs/es/docs/advanced/settings.md
{* ../../docs_src/settings/app01_py39/config.py *} Y luego usarlo en un archivo `main.py`: {* ../../docs_src/settings/app01_py39/main.py hl[3,11:13] *} /// tip | Consejo También necesitarías un archivo `__init__.py` como viste en [Aplicaciones Más Grandes - Múltiples Archivos](../tutorial/bigger-applications.md){.internal-link target=_blank}. /// ## Configuraciones en una dependencia { #settings-in-a-dependency }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 13.2K bytes - Viewed (0) -
docs/de/docs/tutorial/first-steps.md
<span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span> Starting development server 🚀 Searching for package file structure from directories with <font color="#3465A4">__init__.py</font> files Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font> <span style="background-color:#007166"><font color="#D3D7CF"> module </font></span> 🐍 main.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 14.3K bytes - Viewed (0) -
docs/de/docs/deployment/docker.md
/// ### Den **FastAPI**-Code erstellen { #create-the-fastapi-code } * Erstellen Sie ein `app`-Verzeichnis und betreten Sie es. * Erstellen Sie eine leere Datei `__init__.py`. * Erstellen Sie eine `main.py`-Datei mit: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root():Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 02 17:32:56 UTC 2025 - 33.6K bytes - Viewed (0) -
docs/pt/docs/deployment/docker.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 32.1K bytes - Viewed (0) -
docs/es/docs/deployment/docker.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 32K bytes - Viewed (0) -
docs/zh/docs/advanced/settings.md
例如,您可以创建一个名为 `config.py` 的文件,其中包含以下内容: {* ../../docs_src/settings/app01/config.py *} 然后在一个名为 `main.py` 的文件中使用它: {* ../../docs_src/settings/app01/main.py hl[3,11:13] *} /// tip 您还需要一个名为 `__init__.py` 的文件,就像您在[Bigger Applications - Multiple Files](../tutorial/bigger-applications.md){.internal-link target=_blank}中看到的那样。 /// ## 在依赖项中使用设置 在某些情况下,从依赖项中提供设置可能比在所有地方都使用全局对象 `settings` 更有用。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 12.7K bytes - Viewed (0) -
fastapi/routing.py
assert dependant.call is not None, "dependant.call must be a function" await dependant.call(**solved_result.values) return app class APIWebSocketRoute(routing.WebSocketRoute): def __init__( self, path: str, endpoint: Callable[..., Any], *, name: Optional[str] = None, dependencies: Optional[Sequence[params.Depends]] = None,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 174.6K bytes - Viewed (0) -
docs/zh/docs/deployment/docker.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Aug 12 21:47:53 UTC 2024 - 31.2K bytes - Viewed (0)