Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 857 for ToOperation (0.04 sec)

  1. docs/es/docs/advanced/templates.md

    También puedes usar `url_for()` dentro de la plantilla, toma como argumentos los mismos que usaría tu *path operation function*.
    
    Entonces, la sección con:
    
    {% raw %}
    
    ```jinja
    <a href="{{ url_for('read_item', id=id) }}">
    ```
    
    {% endraw %}
    
    ...generará un enlace hacia la misma URL que manejaría la *path operation function* `read_item(id=id)`.
    
    Por ejemplo, con un ID de `42`, esto se renderizaría como:
    
    ```html
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        /** Performs a GAS operation on {@link AbstractFutureState#waitersField}. */
        abstract @Nullable Waiter gasWaiters(AbstractFutureState<?> future, Waiter update);
    
        /** Performs a GAS operation on {@link AbstractFutureState#listenersField}. */
        abstract @Nullable Listener gasListeners(AbstractFutureState<?> future, Listener update);
    
        /** Performs a CAS operation on {@link AbstractFutureState#valueField}. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/first-steps.md

    Здесь переменная `app` будет экземпляром класса `FastAPI`.
    
    Это будет основная точка взаимодействия для создания всего вашего API.
    
    ### Шаг 3: создайте *операцию пути (path operation)* { #step-3-create-a-path-operation }
    
    #### Путь (path) { #path }
    
    Здесь «путь» — это последняя часть URL, начиная с первого символа `/`.
    
    Итак, в таком URL:
    
    ```
    https://example.com/items/foo
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.7K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/dependencies/global-dependencies.md

    # 全局依赖项
    
    有时,我们要为整个应用添加依赖项。
    
    通过与定义[*路径装饰器依赖项*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank} 类似的方式,可以把依赖项添加至整个 `FastAPI` 应用。
    
    这样一来,就可以为所有*路径操作*应用该依赖项:
    
    {* ../../docs_src/dependencies/tutorial012.py hl[15] *}
    
    [*路径装饰器依赖项*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank} 一章的思路均适用于全局依赖项, 在本例中,这些依赖项可以用于应用中的所有*路径操作*。
    
    ## 为一组路径操作定义依赖项
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 936 bytes
    - Viewed (0)
  5. docs/zh/llm-prompt.md

    ### Preferred translations / glossary
    
    Use the following preferred translations when they apply in documentation prose:
    
    - request (HTTP): 请求
    - response (HTTP): 响应
    - path operation: 路径操作
    - path operation function: 路径操作函数
    
    ### `///` admonitions
    
    1) Keep the admonition keyword in English (do not translate `note`, `tip`, etc.).
    2) If a title is present, prefer these canonical titles:
    
    - `/// tip | 提示`
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:49:08 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. docs/ja/docs/advanced/additional-status-codes.md

    # 追加のステータスコード
    
    デフォルトでは、 **FastAPI** は `JSONResponse` を使ってレスポンスを返します。その `JSONResponse` の中には、 *path operation* が返した内容が入ります。
    
    それは、デフォルトのステータスコードか、 *path operation* でセットしたものを利用します。
    
    ## 追加のステータスコード
    
    メインのステータスコードとは別に、他のステータスコードを返したい場合は、`Response` (`JSONResponse` など) に追加のステータスコードを設定して直接返します。
    
    例えば、itemを更新し、成功した場合は200 "OK"のHTTPステータスコードを返す *path operation* を作りたいとします。
    
    しかし、新しいitemも許可したいです。itemが存在しない場合は、それらを作成して201 "Created"を返します。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/templates.md

    So, the section with:
    
    {% raw %}
    
    ```jinja
    <a href="{{ url_for('read_item', id=id) }}">
    ```
    
    {% endraw %}
    
    ...will generate a link to the same URL that would be handled by the *path operation function* `read_item(id=id)`.
    
    For example, with an ID of `42`, this would render:
    
    ```html
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    Then we can use the dependency with:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[23] *}
    
    /// info
    
    Notice that we are only declaring one dependency in the *path operation function*, the `query_or_cookie_extractor`.
    
    But **FastAPI** will know that it has to solve `query_extractor` first, to pass the results of that to `query_or_cookie_extractor` while calling it.
    
    ///
    
    ```mermaid
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    ```mermaid
    sequenceDiagram
    
    participant client as Client
    participant handler as Exception handler
    participant dep as Dep with yield
    participant operation as Path Operation
    participant tasks as Background tasks
    
        Note over client,operation: Can raise exceptions, including HTTPException
        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise Exception
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. docs/es/llm-prompt.md

    * feature: funcionalidad
    * sponsor: sponsor
    * host (in a podcast): host
    * request (as in HTTP request): request
    * response (as in HTTP response): response
    * path operation function: path operation function (do not translate to "función de operación de ruta")
    * path operation: path operation (do not translate to "operación de ruta")
    * path (as in URL path): path (do not translate to "ruta")
    * query (as in URL query): query (do not translate to "consulta")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top