Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 128 for url_lines (0.11 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/webapp/WEB-INF/view/cache.hbs

    <!DOCTYPE html>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <base href="{{url_link}}">
    <div style="border:1px solid #999;margin:5px -1px;padding:0;">
    <div style="color:#000;background:#ddd;border:1px solid #666;margin:10px 15px;padding:5px;text-align:left;">{{cache_msg}}</div>
    </div>
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri May 06 04:49:09 GMT 2016
    - 324 bytes
    - Click Count (0)
  2. docs/zh/docs/advanced/templates.md

    ```html
    <a href="/items/42">
    ```
    
    ## 模板与静态文件
    
    你还可以在模板内部将 `url_for()`用于静态文件,例如你挂载的 `name="static"`的 `StaticFiles`。
    
    ```jinja hl_lines="4"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    本例中,它将链接到 `static/styles.css`中的CSS文件:
    
    ```CSS hl_lines="4"
    {!../../docs_src/templates/static/styles.css!}
    ```
    
    因为使用了 `StaticFiles`, **FastAPI** 应用会自动提供位于 URL `/static/styles.css`的 CSS 文件。
    
    ## 更多说明
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/templates.md

    You can also use `url_for()` inside of the template, and use it, for example, with the `StaticFiles` you mounted with the `name="static"`.
    
    ```jinja hl_lines="4"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    In this example, it would link to a CSS file at `static/styles.css` with:
    
    ```CSS hl_lines="4"
    {!../../docs_src/templates/static/styles.css!}
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  4. docs/pt/docs/advanced/behind-a-proxy.md

    ///
    
    A interface de documentação também precisaria do OpenAPI schema para declarar que este `server` da API está localizado em `/api/v1` (atrás do proxy). Por exemplo:
    
    ```JSON hl_lines="4-8"
    {
        "openapi": "3.1.0",
        // Mais coisas aqui
        "servers": [
            {
                "url": "/api/v1"
            }
        ],
        "paths": {
                // Mais coisas aqui
        }
    }
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 17.2K bytes
    - Click Count (0)
  5. docs/pt/docs/advanced/additional-responses.md

    ///
    
    O retorno gerado no OpenAPI para esta *operação de rota* será:
    
    ```JSON hl_lines="3-12"
    {
        "responses": {
            "404": {
                "description": "Additional Response",
                "content": {
                    "application/json": {
                        "schema": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  6. docs/zh/docs/advanced/events.md

    ///
    
    ## 生命周期函数
    
    首先要注意的是,我们定义了一个带有 `yield` 的异步函数。这与带有 `yield` 的依赖项非常相似。
    
    ```Python hl_lines="14-19"
    {!../../docs_src/events/tutorial003.py!}
    ```
    
    这个函数在 `yield`之前的部分,会在应用启动前执行。
    
    剩下的部分在 `yield` 之后,会在应用完成后执行。
    
    ## 异步上下文管理器
    
    如你所见,这个函数有一个装饰器 `@asynccontextmanager` 。
    
    它将函数转化为所谓的“**异步上下文管理器**”。
    
    ```Python hl_lines="1  13"
    {!../../docs_src/events/tutorial003.py!}
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. docs/ru/docs/async.md

    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # Сделать что-то асинхронное, чтобы приготовить бургеры
        return burgers
    ```
    
    ...вместо `def`:
    
    ```Python hl_lines="2"
    # Это не асинхронный код
    def get_sequential_burgers(number: int):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  8. src/main/webapp/WEB-INF/view/admin/searchlist/admin_searchlist.jsp

                                                    <li class="col-sm-12">
                                                        <h3 class="title">
                                                            <a href="${doc.url_link}">${doc.content_title}</a>
                                                        </h3>
                                                        <div class="body col-sm-10">
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  9. docs/zh/docs/advanced/additional-responses.md

                - 一个键` schema` ,它的值是来自模型的`JSON Schema`,正确的位置在这里。
                    - **FastAPI**在这里添加了对OpenAPI中另一个地方的全局JSON模式的引用,而不是直接包含它。这样,其他应用程序和客户端可以直接使用这些JSON模式,提供更好的代码生成工具等。
    
    ///
    
    **在OpenAPI中为该路径操作生成的响应将是:**
    
    ```json hl_lines="3-12"
    {
        "responses": {
            "404": {
                "description": "Additional Response",
                "content": {
                    "application/json": {
                        "schema": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:29:26 GMT 2024
    - 8.1K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/dependencies/sub-dependencies.md

    //// tab | Python 3.9+
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.9+ sin Anotaciones
    
    /// tip | Consejo
    
    Prefiere usar la versión `Annotated` si es posible.
    
    ///
    
    ```Python hl_lines="1"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.9K bytes
    - Click Count (0)
Back to Top