Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1651 - 1660 of 2,058 for py$ (0.09 seconds)

  1. docs/ru/docs/tutorial/cookie-params.md

    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[3] *}
    
    ## Объявление параметров `Cookie` { #declare-cookie-parameters }
    
    Затем объявляйте параметры cookie, используя ту же структуру, что и с `Path` и `Query`.
    
    Вы можете задать значение по умолчанию, а также все дополнительные параметры валидации или аннотации:
    
    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[9] *}
    
    /// note | Технические детали
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/request-forms-and-files.md

    {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[3] *}
    
    ## Define `File` and `Form` parameters { #define-file-and-form-parameters }
    
    Create file and form parameters the same way you would for `Body` or `Query`:
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[10:12] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. docs/zh/docs/environment-variables.md

    然后你可以调用这个 Python 程序:
    
    //// tab | Linux, macOS, Windows Bash
    
    <div class="termy">
    
    ```console
    // 这里我们还没有设置环境变量
    $ python main.py
    
    // 因为我们没有设置环境变量,所以我们得到的是默认值
    
    Hello World from Python
    
    // 但是如果我们事先创建过一个环境变量
    $ export MY_NAME="Wade Wilson"
    
    // 然后再次调用程序
    $ python main.py
    
    // 现在就可以读取到环境变量了
    
    Hello Wade Wilson from Python
    ```
    
    </div>
    
    ////
    
    //// tab | Windows PowerShell
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 12:17:15 GMT 2024
    - 8K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/response-status-code.md

    Veamos de nuevo el ejemplo anterior:
    
    {* ../../docs_src/response_status_code/tutorial001_py39.py hl[6] *}
    
    `201` es el código de estado para "Created".
    
    Pero no tienes que memorizar lo que significa cada uno de estos códigos.
    
    Puedes usar las variables de conveniencia de `fastapi.status`.
    
    {* ../../docs_src/response_status_code/tutorial002_py39.py hl[1,6] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  5. docs/ja/docs/tutorial/schema-extra-example.md

    {* ../../docs_src/schema_extra_example/tutorial001.py hl[15,16,17,18,19,20,21,22,23] *}
    
    その追加情報はそのまま出力され、JSON Schemaに追加されます。
    
    ## `Field`の追加引数
    
    後述する`Field`、`Path`、`Query`、`Body`などでは、任意の引数を関数に渡すことでJSON Schemaの追加情報を宣言することもできます:
    
    {* ../../docs_src/schema_extra_example/tutorial002.py hl[4,10,11,12,13] *}
    
    /// warning | 注意
    
    これらの追加引数が渡されても、文書化のためのバリデーションは追加されず、注釈だけが追加されることを覚えておいてください。
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  6. docs/pt/docs/advanced/dataclasses.md

    Mas o FastAPI também suporta o uso de <a href="https://docs.python.org/3/library/dataclasses.html" class="external-link" target="_blank">`dataclasses`</a> da mesma forma:
    
    {* ../../docs_src/dataclasses_/tutorial001_py310.py hl[1,6:11,18:19] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/response-status-code.md

    Let's see the previous example again:
    
    {* ../../docs_src/response_status_code/tutorial001_py39.py hl[6] *}
    
    `201` is the status code for "Created".
    
    But you don't have to memorize what each of these codes mean.
    
    You can use the convenience variables from `fastapi.status`.
    
    {* ../../docs_src/response_status_code/tutorial002_py39.py hl[1,6] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. docs/es/docs/advanced/dataclasses.md

    Pero FastAPI también soporta el uso de <a href="https://docs.python.org/3/library/dataclasses.html" class="external-link" target="_blank">`dataclasses`</a> de la misma manera:
    
    {* ../../docs_src/dataclasses_/tutorial001_py310.py hl[1,6:11,18:19] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. docs/en/docs/how-to/separate-openapi-schemas.md

    Let's say you have a Pydantic model with default values, like this one:
    
    {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:7] hl[7] *}
    
    ### Model for Input { #model-for-input }
    
    If you use this model as an input like here:
    
    {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:15] hl[14] *}
    
    ...then the `description` field will **not be required**. Because it has a default value of `None`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  10. docs/pt/docs/fastapi-cli.md

    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:solid">main.py</u>
    
      <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
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top