Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1011 - 1020 of 1,080 for Str (0.01 sec)

  1. internal/s3select/sql/value.go

    }
    
    // FromInt creates a Value from an int
    func FromInt(f int64) *Value {
    	return &Value{value: f}
    }
    
    // FromString creates a Value from a string
    func FromString(str string) *Value {
    	return &Value{value: str}
    }
    
    // FromBool creates a Value from a bool
    func FromBool(b bool) *Value {
    	return &Value{value: b}
    }
    
    // FromTimestamp creates a Value from a timestamp
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/openapi-callbacks.md

    ### ⏲ ➡ 🧬
    
    ⏲ *➡* 💪 ✔️ <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#key-expression" class="external-link" target="_blank">🗄 3️⃣ 🧬</a> 👈 💪 🔌 🍕 ⏮️ 📨 📨 *👆 🛠️*.
    
    👉 💼, ⚫️ `str`:
    
    ```Python
    "{$callback_url}/invoices/{$request.body.id}"
    ```
    
    , 🚥 👆 🛠️ 👩‍💻 (🔢 👩‍💻) 📨 📨 *👆 🛠️* :
    
    ```
    https://yourapi.com/invoices/?callback_url=https://www.external.org/events
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/first-steps.md

    ///
    
    ### 5 단계: 콘텐츠 반환
    
    ```Python hl_lines="8"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `dict`, `list`, 단일값을 가진 `str`, `int` 등을 반환할 수 있습니다.
    
    Pydantic 모델을 반환할 수도 있습니다(나중에 더 자세히 살펴봅니다).
    
    JSON으로 자동 변환되는 객체들과 모델들(ORM 등을 포함해서)이 많이 있습니다. 가장 마음에 드는 것을 사용하십시오, 이미 지원되고 있을 것입니다.
    
    ## 요약
    
    * `FastAPI` 임포트.
    * `app` 인스턴스 생성.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/first-steps.md

    ///
    
    ### 🔁 5️⃣: 📨 🎚
    
    ```Python hl_lines="8"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    👆 💪 📨 `dict`, `list`, ⭐ 💲 `str`, `int`, ♒️.
    
    👆 💪 📨 Pydantic 🏷 (👆 🔜 👀 🌅 🔃 👈 ⏪).
    
    📤 📚 🎏 🎚 &amp; 🏷 👈 🔜 🔁 🗜 🎻 (🔌 🐜, ♒️). 🔄 ⚙️ 👆 💕 🕐, ⚫️ 🏆 🎲 👈 👫 ⏪ 🐕‍🦺.
    
    ## 🌃
    
    * 🗄 `FastAPI`.
    * ✍ `app` 👐.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. docs/ru/docs/environment-variables.md

    Это означает, что **любое значение**, считанное в Python из переменной окружения, **будет `str`**, и любое преобразование к другому типу или любая проверка должны быть выполнены в коде.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 11:38:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/handling-errors.md

    ```JSON
    {
      "detail": "Item not found"
    }
    
    ```
    
    /// tip | "提示"
    
    触发 `HTTPException` 时,可以用参数 `detail` 传递任何能转换为 JSON 的值,不仅限于 `str`。
    
    还支持传递 `dict`、`list` 等数据结构。
    
    **FastAPI** 能自动处理这些数据,并将之转换为 JSON。
    
    ///
    
    ## 添加自定义响应头
    
    有些场景下要为 HTTP 错误添加自定义响应头。例如,出于某些方面的安全需要。
    
    一般情况下可能不会需要在代码中直接使用响应头。
    
    但对于某些高级应用场景,还是需要添加自定义响应头:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/dependencies/index.md

    И она может возвращать всё, что требуется.
    
    В этом случае, эта зависимость ожидает:
    
    * Необязательный query-параметр `q` с типом `str`
    * Необязательный query-параметр `skip` с типом `int`, и значением по умолчанию `0`
    * Необязательный query-параметр `limit` с типом `int`, и значением по умолчанию `100`
    
    И в конце она возвращает `dict`, содержащий эти значения.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/index.md

    And it can return anything you want.
    
    In this case, this dependency expects:
    
    * An optional query parameter `q` that is a `str`.
    * An optional query parameter `skip` that is an `int`, and by default is `0`.
    * An optional query parameter `limit` that is an `int`, and by default is `100`.
    
    And then it just returns a `dict` containing those values.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:18:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/first-steps.md

    ///
    
    ### Paso 5: devuelve el contenido
    
    ```Python hl_lines="8"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Puedes devolver `dict`, `list`, valores singulares como un `str`, `int`, etc.
    
    También puedes devolver modelos de Pydantic (ya verás más sobre esto más adelante).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. docs/fr/docs/tutorial/first-steps.md

    ```Python hl_lines="8"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Vous pouvez retourner un dictionnaire (`dict`), une liste (`list`), des valeurs seules comme des chaines de caractères (`str`) et des entiers (`int`), etc.
    
    Vous pouvez aussi retourner des models **Pydantic** (qui seront détaillés plus tard).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top