Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 707 for Pythons (0.1 seconds)

  1. docs/es/docs/async.md

    Las versiones modernas de Python tienen una forma muy intuitiva de definir código asíncrono. Esto hace que se vea igual que el código "secuencial" normal y hace el "wait" por ti en los momentos adecuados.
    
    Cuando hay una operación que requerirá esperar antes de dar los resultados y tiene soporte para estas nuevas funcionalidades de Python, puedes programarlo así:
    
    ```Python
    burgers = await get_burgers(2)
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 10:15:01 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  2. docs/ru/docs/tutorial/encoder.md

    Результатом её вызова является объект, который может быть закодирован с помощью функции из стандартной библиотеки Python – <a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>.
    
    Функция не возвращает большой `str`, содержащий данные в формате JSON (в виде строки). Она возвращает стандартную структуру данных Python (например, `dict`) со значениями и подзначениями, которые совместимы с JSON.
    
    /// note | Примечание
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/path-params.md

    ## 预设值
    
    路径操作使用 Python 的 <abbr title="Enumeration">`Enum`</abbr> 类型接收预设的*路径参数*。
    
    ### 创建 `Enum` 类
    
    导入 `Enum` 并创建继承自 `str` 和 `Enum` 的子类。
    
    通过从 `str` 继承,API 文档就能把值的类型定义为**字符串**,并且能正确渲染。
    
    然后,创建包含固定值的类属性,这些固定值是可用的有效值:
    
    {* ../../docs_src/path_params/tutorial005.py hl[1,6:9] *}
    
    /// info | 说明
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 15 16:43:19 GMT 2024
    - 7.4K bytes
    - Click Count (0)
  4. docs/pt/docs/tutorial/path-params.md

    ```JSON
    {"item_id":3}
    ```
    
    /// check | Verifique
    Perceba que o valor que sua função recebeu (e retornou) é `3`, como um `int` do Python, não uma string `"3"`.
    
    Então, com essa declaração de tipo, o **FastAPI** fornece <abbr title="convertendo a string que vem de um request HTTP em dados Python">"parsing"</abbr> automático do request.
    ///
    
    ## Validação de dados { #data-validation }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  5. docs/es/docs/tutorial/header-params.md

    Pero una variable como `user-agent` es inválida en Python.
    
    Así que, por defecto, `Header` convertirá los caracteres de los nombres de los parámetros de guion bajo (`_`) a guion (`-`) para extraer y documentar los headers.
    
    Además, los headers HTTP no diferencian entre mayúsculas y minúsculas, por lo que los puedes declarar con el estilo estándar de Python (también conocido como "snake_case").
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. docs/tr/docs/history-design-future.md

    Çeşitli fikirleri en popüler Python editörlerinde test ettim: PyCharm, VS Code, Jedi tabanlı editörler.
    
    Bu test, en son <a href="https://www.jetbrains.com/research/python-developers-survey-2018/#development-tools" class="external-link" target="_blank">Python Developer Survey</a>'ine göre, kullanıcıların yaklaşık %80'inin kullandığı editörleri kapsıyor.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  7. docs/ru/docs/tutorial/bigger-applications.md

    Мы также могли бы импортировать и другим методом:
    
    ```Python
    from app.routers import items, users
    ```
    
    /// info | Примечание
    
    Первая версия является примером относительного импорта:
    
    ```Python
    from .routers import items, users
    ```
    
    Вторая версия является примером абсолютного импорта:
    
    ```Python
    from app.routers import items, users
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 21:25:03 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  8. docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    /// warning
    
    The Pydantic team stopped support for Pydantic v1 for the latest versions of Python, starting with **Python 3.14**.
    
    This includes `pydantic.v1`, which is no longer supported in Python 3.14 and above.
    
    If you want to use the latest features of Python, you will need to make sure you use Pydantic v2.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  9. docs/ko/docs/tutorial/query-params-str-validations.md

    그러므로:
    
    ```Python
    q: Optional[str] = Query(None)
    ```
    
    ...위 코드는 아래와 동일하게 매개변수를 선택적으로 만듭니다:
    
    ```Python
    q: Optional[str] = None
    ```
    
    하지만 명시적으로 쿼리 매개변수를 선언합니다.
    
    /// info | 정보
    
    FastAPI는 다음 부분에 관심이 있습니다:
    
    ```Python
    = None
    ```
    
    또는:
    
    ```Python
    = Query(None)
    ```
    
    그리고 `None`을 사용하여 쿼라 매개변수가 필수적이지 않다는 것을 파악합니다.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 9.2K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/encoder.md

    The result of calling it is something that can be encoded with the Python standard <a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>.
    
    It doesn't return a large `str` containing the data in JSON format (as a string). It returns a Python standard data structure (e.g. a `dict`) with values and sub-values that are all compatible with JSON.
    
    /// note
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top