Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 1,303 for Note (0.04 sec)

  1. docs/pt/docs/tutorial/cookie-param-models.md

    Isso lhe permitiria **reutilizar o modelo** em **diversos lugares** e também declarar validações e metadata para todos os parâmetros de uma vez. 😎
    
    /// note | Nota
    
    Isso é suportado desde a versão `0.115.0` do FastAPI. 🤓
    
    ///
    
    /// tip | Dica
    
    Essa mesma técnica se aplica para `Query`, `Cookie`, e `Header`. 😎
    
    ///
    
    ## Cookies com Modelos Pydantic
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 07 20:18:07 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

                    request.addMetadata(new MetadataBridge(metadata));
                }
            }
    
            RemoteRepository remoteRepo = RepositoryUtils.toRepo(deploymentRepository);
            /*
             * NOTE: This provides backward-compat with maven-deploy-plugin:2.4 which bypasses the repository factory when
             * using an alternative deployment location.
             */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. src/README.vendor

        go mod tidy
        go mod vendor
    
    Use caution when passing '-u' to 'go get'. The '-u' flag updates
    modules providing all transitively imported packages, not only
    the module providing the target package.
    
    Note that 'go mod vendor' only copies packages that are transitively
    imported by packages in the current module. If a new package is needed,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 30 19:15:39 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/response-cookies.md

    /// tip
    
    需要注意,如果你直接反馈一个response对象,而不是使用`Response`入参,FastAPI则会直接反馈你封装的response对象。
    
    所以你需要确保你响应数据类型的正确性,如:你可以使用`JSONResponse`来兼容JSON的场景。
    
    同时,你也应当仅反馈通过`response_model`过滤过的数据。
    
    ///
    
    ### 更多信息
    
    /// note | "技术细节"
    
    你也可以使用`from starlette.responses import Response` 或者 `from starlette.responses import JSONResponse`。
    
    为了方便开发者,**FastAPI** 封装了相同数据类型,如`starlette.responses` 和 `fastapi.responses`。不过大部分response对象都是直接引用自Starlette。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/using-request-directly.md

    同样,您也可以正常声明其它参数,而且还可以提取 `Request`。
    
    ///
    
    ## `Request` 文档
    
    更多细节详见 <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">Starlette 官档 - `Request` 对象</a>。
    
    /// note | "技术细节"
    
    您也可以使用 `from starlette.requests import Request`。
    
    **FastAPI** 的 `from fastapi import Request` 只是为开发者提供的快捷方式,但其实它直接继承自 Starlette。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/cookie-params.md

    /// tip | "팁"
    
    가능하다면 `Annotated`가 달린 버전을 권장합니다.
    
    ///
    
    ```Python hl_lines="9"
    {!> ../../docs_src/cookie_params/tutorial001.py!}
    ```
    
    ////
    
    /// note | "기술 세부사항"
    
    `Cookie`는 `Path` 및 `Query`의 "자매"클래스입니다. 이 역시 동일한 공통 `Param` 클래스를 상속합니다.
    
    `Query`, `Path`, `Cookie` 그리고 다른 것들은 `fastapi`에서 임포트 할 때, 실제로는 특별한 클래스를 반환하는 함수임을 기억하세요.
    
    ///
    
    /// info | "정보"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. docs/id/docs/tutorial/index.md

    <div class="termy">
    
    ```console
    $ pip install "fastapi[all]"
    
    ---> 100%
    ```
    
    </div>
    
    ...yang juga termasuk `uvicorn`, yang dapat kamu gunakan sebagai server yang menjalankan kodemu.
    
    /// note | "Catatan"
    
    Kamu juga dapat meng-installnya bagian demi bagian.
    
    Hal ini mungkin yang akan kamu lakukan ketika kamu hendak menyebarkan (men-deploy) aplikasimu ke tahap produksi:
    
    ```
    pip install fastapi
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/handling-errors.md

    Dessa forma você receberá um erro "limpo", com o HTTP status code `418` e um JSON com o conteúdo:
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    /// note | "Detalhes Técnicos"
    
    Você também pode usar `from starlette.requests import Request` and `from starlette.responses import JSONResponse`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/first-steps.md

    ## Recap, step by step
    
    ### Step 1: import `FastAPI`
    
    {* ../../docs_src/first_steps/tutorial001.py hl[1] *}
    
    `FastAPI` is a Python class that provides all the functionality for your API.
    
    /// note | "Technical Details"
    
    `FastAPI` is a class that inherits directly from `Starlette`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:48:16 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/informers.go

    	s.pods.AddEventHandler(controllers.FromEventHandler(func(o controllers.Event) {
    		s.queue.Add(o)
    	}))
    
    	// Namespaces could be anything though, so we watch all of those
    	//
    	// NOTE that we are requeueing namespaces here explicitly to work around
    	// test flakes with the fake kube client in `pkg/kube/client.go` -
    	// because we are using `List()` in the handler, without this requeue,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top