Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 794 for py (0.01 sec)

  1. docs/az/docs/index.md

    </div>
    
    <details markdown="1">
    <summary><code>uvicorn main:app --reload</code> əmri haqqında...</summary>
    
    `uvicorn main:app` əmri aşağıdakılara instinad edir:
    
    * `main`: `main.py` faylı (yəni Python "modulu").
    * `app`: `main.py` faylında `app = FastAPI()` sətrində yaratdığımız `FastAPI` obyektidir.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. configure.cmd

    :: License for the specific language governing permissions and limitations under
    :: the License.
    
    @echo off
    
    set configure_dir=%~dp0
    set configure_dir=%configure_dir:~0,-1%
    python "%configure_dir%\configure.py" %* || ( exit /b )
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue Aug 11 09:27:42 UTC 2020
    - 782 bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/cookie-param-models.md

    これと同じテクニックは `Query` 、 `Cookie` 、 `Header` にも適用できます。 😎
    
    ///
    
    ## クッキーにPydanticモデルを使用する
    
    必要な複数の**クッキー**パラメータを**Pydanticモデル**で宣言し、さらに、それを `Cookie` として宣言しましょう:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI**は、リクエストの**クッキー**から**それぞれのフィールド**のデータを**抽出**し、定義された**Pydanticモデル**を提供します。
    
    ## ドキュメントの確認
    
    対話的APIドキュメントUI `/docs` で、定義されているクッキーを確認できます:
    
    <div class="screenshot">
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 28 14:21:27 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/behind-a-proxy.md

    并且 `--root-path` 命令行选项支持 `root_path`。
    
    ///
    
    ### 查看当前的 `root_path`
    
    获取应用为每个请求使用的当前 `root_path`,这是 `scope` 字典的内容(也是 ASGI 规范的内容)。
    
    我们在这里的信息里包含 `roo_path` 只是为了演示。
    
    {* ../../docs_src/behind_a_proxy/tutorial001.py hl[8] *}
    
    然后,用以下命令启动 Uvicorn:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --root-path /api/v1
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. docs/pl/docs/index.md

    ```
    
    </div>
    
    <details markdown="1">
    <summary>O komendzie <code>uvicorn main:app --reload</code>...</summary>
    Komenda `uvicorn main:app` odnosi się do:
    
    * `main`: plik `main.py` ("moduł" w Pythonie).
    * `app`: obiekt stworzony w `main.py` w lini `app = FastAPI()`.
    * `--reload`: spraw by serwer resetował się po każdej zmianie w kodzie. Używaj tego tylko w środowisku deweloperskim.
    
    </details>
    
    ### Wypróbuj
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/wsgi.md

    ## Using `WSGIMiddleware` { #using-wsgimiddleware }
    
    You need to import `WSGIMiddleware`.
    
    Then wrap the WSGI (e.g. Flask) app with the middleware.
    
    And then mount that under a path.
    
    {* ../../docs_src/wsgi/tutorial001.py hl[2:3,3] *}
    
    ## Check it { #check-it }
    
    Now, every request under the path `/v1/` will be handled by the Flask application.
    
    And the rest will be handled by **FastAPI**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. 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():
        return {"Hello": "World"}
    
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  8. docs/uk/docs/tutorial/cookie-param-models.md

    ///
    
    ## Cookie з Pydantic-моделлю
    
    Оголосіть **cookie-параметри**, які Вам потрібні, у **Pydantic-моделі**, а потім оголосіть параметр як `Cookie`:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI** буде **витягувати** дані для **кожного поля** з **cookie** параметрів, отриманих у запиті, і передавати Вам Pydantic-модель, яку Ви визначили.
    
    ## Перевірка у документації
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Mar 19 17:03:38 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. 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():
        return {"Hello": "World"}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Dec 12 22:48:28 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  10. docs/tr/docs/tutorial/static-files.md

    ## `StaticFiles` Kullanımı
    
    * `StaticFiles` sınıfını projenize dahil edin.
    * Bir `StaticFiles()` örneğini belirli bir yola bağlayın.
    
    {* ../../docs_src/static_files/tutorial001.py hl[2,6] *}
    
    /// note | Teknik Detaylar
    
    Projenize dahil etmek için `from starlette.staticfiles import StaticFiles` kullanabilirsiniz.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top