Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 981 - 990 of 1,091 for Fstr (0.04 seconds)

  1. docs/zh/docs/environment-variables.md

    ///
    
    ## 类型和验证 { #types-and-validation }
    
    这些环境变量只能处理**文本字符串**,因为它们是处于 Python 范畴之外的,必须与其他程序和操作系统的其余部分兼容(甚至与不同的操作系统兼容,如 Linux、Windows、macOS)。
    
    这意味着从环境变量中读取的**任何值**在 Python 中都将是一个 `str`,任何类型转换或验证都必须在代码中完成。
    
    你将在[高级用户指南 - 设置和环境变量](./advanced/settings.md)中了解更多关于使用环境变量处理**应用程序设置**的信息。
    
    ## `PATH` 环境变量 { #path-environment-variable }
    
    有一个**特殊的**环境变量称为 **`PATH`**,操作系统(Linux、macOS、Windows)用它来查找要运行的程序。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/openapi-callbacks.md

    The callback *path* can have an [OpenAPI 3 expression](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#key-expression) that can contain parts of the original request sent to *your API*.
    
    In this case, it's the `str`:
    
    ```Python
    "{$callback_url}/invoices/{$request.body.id}"
    ```
    
    So, if your API user (the external developer) sends a request to *your API* to:
    
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  3. docs/pt/docs/advanced/openapi-callbacks.md

    O *path* do callback pode ter uma [expressão OpenAPI 3](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#key-expression) que pode conter partes do request original enviado para *sua API*.
    
    Nesse caso, é a `str`:
    
    ```Python
    "{$callback_url}/invoices/{$request.body.id}"
    ```
    
    Então, se o usuário da sua API (o desenvolvedor externo) enviar um request para *sua API* para:
    
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/dependencies/index.md

    大功告成。
    
    **2 行**。
    
    它的形式和结构与所有*路径操作函数*相同。
    
    你可以把它当作没有“装饰器”(没有 `@app.get("/some-path")`)的*路径操作函数*。
    
    而且它可以返回任何你想要的内容。
    
    本例中的依赖项预期接收:
    
    * 类型为 `str` 的可选查询参数 `q`
    * 类型为 `int` 的可选查询参数 `skip`,默认值 `0`
    * 类型为 `int` 的可选查询参数 `limit`,默认值 `100`
    
    然后它只需返回一个包含这些值的 `dict`。
    
    /// info | 信息
    
    FastAPI 在 0.95.0 版本中新增了对 `Annotated` 的支持(并开始推荐使用)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  5. 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
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  6. docs/en/docs/release-notes.md

    ```Python
    from fastapi import FastAPI
    from pydantic import BaseModel as BaseModelV2
    from pydantic.v1 import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
    
    
    class ItemV2(BaseModelV2):
        title: str
        summary: str | None = None
    
    
    app = FastAPI()
    
    
    @app.post("/items/", response_model=ItemV2)
    def create_item(item: Item):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/ViewHelper.java

        }
    
        /**
         * Removes highlight tags from a string.
         *
         * @param str the string containing highlight tags
         * @return the string with highlight tags removed
         */
        protected String removeHighlightTag(final String str) {
            return str.replaceAll(originalHighlightTagPre, StringUtil.EMPTY).replaceAll(originalHighlightTagPost, StringUtil.EMPTY);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
  8. docs/uk/docs/tutorial/handling-errors.md

    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip | Порада
    
    Під час генерації `HTTPException` ви можете передати будь-яке значення, яке може бути перетворене в JSON, як параметр `detail`, а не лише `str`.
    
    Ви можете передати `dict`, `list` тощо.
    
    Вони обробляються автоматично за допомогою **FastAPI** та перетворюються в JSON.
    
    ///
    
    ## Додавання власних заголовків { #add-custom-headers }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  9. docs/tr/docs/tutorial/dependencies/index.md

    Bunu, "decorator" olmadan (yani `@app.get("/some-path")` olmadan) yazılmış bir *path operation function* gibi düşünebilirsiniz.
    
    Ayrıca istediğiniz herhangi bir şeyi döndürebilir.
    
    Bu örnekte, bu dependency şunları bekler:
    
    * `str` olan, opsiyonel bir query parametresi `q`.
    * `int` olan, opsiyonel bir query parametresi `skip` ve varsayılanı `0`.
    * `int` olan, opsiyonel bir query parametresi `limit` ve varsayılanı `100`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 10.2K bytes
    - Click Count (0)
  10. docs/tr/docs/tutorial/handling-errors.md

    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip | İpucu
    
    Bir `HTTPException` raise ederken, `detail` parametresine sadece `str` değil, JSON’a dönüştürülebilen herhangi bir değer geçebilirsiniz.
    
    Örneğin `dict`, `list` vb. geçebilirsiniz.
    
    Bunlar **FastAPI** tarafından otomatik olarak işlenir ve JSON’a dönüştürülür.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 9.7K bytes
    - Click Count (0)
Back to Top