Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 100 for __init__ (0.05 sec)

  1. docs/es/docs/deployment/docker.md

    Existen otros formatos y herramientas para definir e instalar dependencias de paquetes.
    
    ///
    
    ### Crear el Código de **FastAPI**
    
    * Crea un directorio `app` y entra en él.
    * Crea un archivo vacío `__init__.py`.
    * Crea un archivo `main.py` con:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:15:52 UTC 2025
    - 31K bytes
    - Viewed (0)
  2. docs/em/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` 👆 👀 🔛 [🦏 🈸 - 💗 📁](../tutorial/bigger-applications.md){.internal-link target=_blank}.
    
    ///
    
    ## ⚒ 🔗
    
    🍾 ⚫️ 5️⃣📆 ⚠ 🚚 ⚒ ⚪️➡️ 🔗, ↩️ ✔️ 🌐 🎚 ⏮️ `settings` 👈 ⚙️ 🌐.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 29.5K bytes
    - Viewed (1)
  4. docs/pt/docs/deployment/docker.md

    Eu vou mostrar um exemplo depois usando Poetry em uma seção abaixo. 👇
    
    ///
    
    ### Criando o Código do **FastAPI**
    
    * Crie um diretório `app` e entre nele.
    * Crie um arquivo vazio `__init__.py`.
    * Crie um arquivo `main.py` com:
    
    ```Python
    from typing import Optional
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  5. docs/ru/docs/deployment/docker.md

    В этом же разделе, но позже, я покажу вам пример использования Poetry. 👇
    
    ///
    
    ### Создать приложение **FastAPI**
    
    * Создайте директорию `app` и перейдите в неё.
    * Создайте пустой файл `__init__.py`.
    * Создайте файл `main.py` и заполните его:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Dec 12 22:48:28 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  6. docs/de/docs/deployment/docker.md

    ///
    
    ### Den **FastAPI**-Code erstellen
    
    * 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 38.9K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/settings.md

    {* ../../docs_src/settings/app01/config.py *}
    
    E utilizar essa configuração em `main.py`:
    
    {* ../../docs_src/settings/app01/main.py hl[3,11:13] *}
    
    /// tip | Dica
    
    Você também precisa incluir um arquivo `__init__.py` como visto em [Bigger Applications - Multiple Files](../tutorial/bigger-applications.md){.internal-link target=\_blank}.
    
    ///
    
    ## Configurações em uma dependência
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Jan 15 20:17:23 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. docs/ko/docs/deployment/docker.md

    ```
    
    </div>
    
    /// info | 정보
    
    패키지 종속성을 정의하고 설치하기 위한 방법과 도구는 다양합니다.
    
    나중에 아래 세션에서 Poetry를 사용한 예시를 보이겠습니다. 👇
    
    ///
    
    ### **FastAPI** 코드 생성하기
    
    * `app` 디렉터리를 생성하고 이동합니다.
    * 빈 파일 `__init__.py`을 생성합니다.
    * 다음과 같은 `main.py`을 생성합니다:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  9. docs/en/data/external_links.yml

    author_link: https://pythonbytes.fm/ link: https://www.pythonpodcast.com/fastapi-web-application-framework-episode-259/ title: 'Do you dare to press "."? - Episode 247 - Dan #6: SQLModel - use the same models for SQL and FastAPI' - author: Podcast.`__init__` author_link: https://www.pythonpodcast.com/ link: https://www.pythonpodcast.com/fastapi-web-application-framework-episode-259/ title: Build The Next Generation Of Python Web Applications With FastAPI - Episode 259 - interview to Sebastían Ramírez...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 23K bytes
    - Viewed (0)
  10. docs/ja/docs/deployment/docker.md

    ```
    
    </div>
    
    /// info
    
    パッケージの依存関係を定義しインストールするためのフォーマットやツールは他にもあります。
    
    Poetryを使った例は、後述するセクションでご紹介します。👇
    
    ///
    
    ### **FastAPI**コードを作成する
    
    * `app` ディレクトリを作成し、その中に入ります
    * 空のファイル `__init__.py` を作成します
    * `main.py` ファイルを作成します:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 44.3K bytes
    - Viewed (0)
Back to top