Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1331 - 1340 of 1,590 for EXAMPLE (0.06 seconds)

  1. docs/es/docs/tutorial/handling-errors.md

    ### El response resultante { #the-resulting-response }
    
    Si el cliente solicita `http://example.com/items/foo` (un `item_id` `"foo"`), ese cliente recibirá un código de estado HTTP de 200, y un response JSON de:
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  2. docs/pt/docs/tutorial/handling-errors.md

    ### A response resultante { #the-resulting-response }
    
    Se o cliente faz uma requisição para `http://example.com/items/foo` (um `item_id` `"foo"`), esse cliente receberá um HTTP status code 200, e uma resposta JSON:
    
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/handling-errors.md

    {* ../../docs_src/handling_errors/tutorial001_py310.py hl[11] *}
    
    ### 响应结果 { #the-resulting-response }
    
    请求为 `http://example.com/items/foo`(`item_id` 为 `"foo"`)时,客户端会接收到 HTTP 状态码 200 及如下 JSON 响应结果:
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    但如果客户端请求 `http://example.com/items/bar`(不存在的 `item_id` `"bar"`),则会接收到 HTTP 状态码 404(“未找到”错误)及如下 JSON 响应结果:
    
    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  4. docs/es/docs/advanced/middleware.md

    Se soportan los siguientes argumentos:
    
    * `allowed_hosts` - Una list de nombres de dominio que deberían ser permitidos como nombres de host. Se soportan dominios comodín como `*.example.com` para hacer coincidir subdominios. Para permitir cualquier nombre de host, usa `allowed_hosts=["*"]` u omite el middleware.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  5. tests/main.py

    import http
    
    from fastapi import FastAPI, Path, Query
    
    external_docs = {
        "description": "External API documentation.",
        "url": "https://docs.example.com/api-general",
    }
    
    app = FastAPI(openapi_external_docs=external_docs)
    
    
    @app.api_route("/api_route")
    def non_operation():
        return {"message": "Hello World"}
    
    
    def non_decorated_route():
        return {"message": "Hello World"}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

     * for that key. The subclass should not call {@link #createCollection()} directly, and a new
     * instance should be created every time the method is called.
     *
     * <p>For example, the subclass could pass a {@link java.util.TreeMap} during construction, and
     * {@link #createCollection()} could return a {@link java.util.TreeSet}, in which case the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Aug 12 15:51:57 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  7. cmd/fmt-gen.go

      {{end}}{{end}}
    EXAMPLES:
      1. Generate format.json.zip containing format.json files for all drives in a distributed MinIO server pool of 32 nodes with 32 drives each.
         {{.Prompt}} {{.HelpName}} http://node{1...32}.example.com/mnt/export{1...32}
    
    `,
    }
    
    func fmtGenMain(ctxt *cli.Context) {
    	deploymentID := ctxt.String("deployment-id")
    	err := buildServerCtxt(ctxt, &globalServerCtxt)
    	if err != nil {
    		log.Fatalln(err)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  8. docs/fr/docs/deployment/concepts.md

    Et il doit y avoir quelque chose chargé de **renouveler les certificats HTTPS** ; cela peut être le même composant ou quelque chose de différent.
    
    ### Exemples d’outils pour HTTPS { #example-tools-for-https }
    
    Parmi les outils que vous pourriez utiliser comme TLS Termination Proxy :
    
    * Traefik
        * Gère automatiquement le renouvellement des certificats ✨
    * Caddy
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  9. docs/ko/docs/tutorial/extra-data-types.md

    * `Decimal`:
        * 표준 파이썬의 `Decimal`.
        * 요청과 응답에서 `float`와 동일하게 다뤄집니다.
    * 여기에서 모든 유효한 Pydantic 데이터 자료형을 확인할 수 있습니다: [Pydantic 데이터 자료형](https://docs.pydantic.dev/latest/usage/types/types/).
    
    ## 예시 { #example }
    
    위의 몇몇 자료형을 매개변수로 사용하는 *경로 처리* 예시입니다.
    
    {* ../../docs_src/extra_data_types/tutorial001_an_py310.py hl[1,3,12:16] *}
    
    함수 안의 매개변수가 그들만의 데이터 자료형을 가지고 있으며, 예를 들어, 다음과 같이 날짜를 조작할 수 있음을 참고하십시오:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  10. docs/ru/docs/advanced/async-tests.md

    `TestClient` основан на [HTTPX](https://www.python-httpx.org), и, к счастью, мы можем использовать его (`HTTPX`) напрямую для тестирования API.
    
    ## Пример { #example }
    
    В качестве простого примера, давайте рассмотрим файловую структуру, схожую с описанной в [Большие приложения](../tutorial/bigger-applications.md) и [Тестирование](../tutorial/testing.md):
    
    ```
    .
    ├── app
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 6.2K bytes
    - Click Count (0)
Back to Top