Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 531 - 540 of 743 for xhello (0.05 seconds)

  1. docs/es/docs/advanced/response-directly.md

    ## Usar el `jsonable_encoder` en una `Response` { #using-the-jsonable-encoder-in-a-response }
    
    Como **FastAPI** no realiza cambios en una `Response` que devuelves, tienes que asegurarte de que sus contenidos estén listos para ello.
    
    Por ejemplo, no puedes poner un modelo de Pydantic en un `JSONResponse` sin primero convertirlo a un `dict` con todos los tipos de datos (como `datetime`, `UUID`, etc.) convertidos a tipos compatibles con JSON.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/Equivalence.java

       * that tests equivalence using their lengths:
       *
       * {@snippet :
       * equiv.wrap("a").equals(equiv.wrap("b")) // true
       * equiv.wrap("a").equals(equiv.wrap("hello")) // false
       * }
       *
       * <p>Note in particular that an equivalence wrapper is never equal to the object it wraps.
       *
       * {@snippet :
       * equiv.wrap(obj).equals(obj) // always false
       * }
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 10 01:47:55 GMT 2025
    - 15K bytes
    - Click Count (0)
  3. docs/es/docs/tutorial/handling-errors.md

    Cuando un request contiene datos inválidos, **FastAPI** lanza internamente un `RequestValidationError`.
    
    Y también incluye un manejador de excepciones predeterminado para ello.
    
    Para sobrescribirlo, importa el `RequestValidationError` y úsalo con `@app.exception_handler(RequestValidationError)` para decorar el manejador de excepciones.
    
    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)
  4. docs/uk/docs/tutorial/first-steps.md

    ### Перевірте { #check-it }
    
    Відкрийте браузер за адресою [http://127.0.0.1:8000](http://127.0.0.1:8000).
    
    Ви побачите JSON-відповідь:
    
    ```JSON
    {"message": "Hello World"}
    ```
    
    ### Інтерактивна API документація { #interactive-api-docs }
    
    Тепер перейдіть сюди [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/first-steps.md

    ### Check it { #check-it }
    
    Open your browser at [http://127.0.0.1:8000](http://127.0.0.1:8000).
    
    You will see the JSON response as:
    
    ```JSON
    {"message": "Hello World"}
    ```
    
    ### Interactive API docs { #interactive-api-docs }
    
    Now go to [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  6. docs/de/docs/tutorial/first-steps.md

    Sie werden die JSON-<abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Response</abbr> sehen:
    
    ```JSON
    {"message": "Hello World"}
    ```
    
    ### Interaktive API-Dokumentation { #interactive-api-docs }
    
    Gehen Sie als Nächstes auf [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 14.9K bytes
    - Click Count (0)
  7. tests/test_path.py

    from .main import app
    
    client = TestClient(app)
    
    
    def test_text_get():
        response = client.get("/text")
        assert response.status_code == 200, response.text
        assert response.json() == "Hello World"
    
    
    def test_nonexistent():
        response = client.get("/nonexistent")
        assert response.status_code == 404, response.text
        assert response.json() == {"detail": "Not Found"}
    
    
    def test_path_foobar():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 20.5K bytes
    - Click Count (2)
  8. docs/ja/docs/advanced/settings.md

    したがって、その下の関数は引数の組み合わせごとに一度だけ実行されます。そして、その各引数の組み合わせで返された値は、まったく同じ引数の組み合わせで呼び出されたときに何度でも再利用されます。
    
    たとえば、次のような関数があるとします:
    
    ```Python
    @lru_cache
    def say_hi(name: str, salutation: str = "Ms."):
        return f"Hello {salutation} {name}"
    ```
    
    プログラムは次のように実行されます:
    
    ```mermaid
    sequenceDiagram
    
    participant code as Code
    participant function as say_hi()
    participant execute as Execute function
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  9. docs/tr/docs/alternatives.md

    response = requests.get("http://example.com/some/url")
    ```
    
    Buna karşılık bir FastAPI API *path operation*’ı şöyle olabilir:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    `requests.get(...)` ile `@app.get(...)` arasındaki benzerliklere bakın.
    
    /// check | **FastAPI**'a ilham olan
    
    * Basit ve sezgisel bir API’ya sahip olmak.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 24K bytes
    - Click Count (0)
  10. docs/ja/docs/deployment/docker.md

    CMD ["fastapi", "run", "app/main.py", "--port", "80"]
    ```
    
    ⛔️ **Shell** 形式:
    
    ```Dockerfile
    # ⛔️ Don't do this
    CMD fastapi run app/main.py --port 80
    ```
    
    FastAPIが正常にシャットダウンでき、[lifespan events](../advanced/events.md)がトリガーされるように、常に **exec** 形式を使用してください。
    
    詳しくは、[shell形式とexec形式に関するDockerドキュメント](https://docs.docker.com/reference/dockerfile/#shell-and-exec-form)をご覧ください。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 36.8K bytes
    - Click Count (0)
Back to Top