Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 368 for World (0.08 seconds)

  1. docs/ja/docs/deployment/docker.md

    * 空のファイル `__init__.py` を作成します。
    * 次の内容で `main.py` ファイルを作成します:
    
    ```Python
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile { #dockerfile }
    
    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)
  2. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        //
        // HttpUrl is quite lenient with what characters it accepts. In particular, characters like '{'
        // and '"' are permitted but unlikely to occur in real-world URLs. Unfortunately we can't just
        // lock it down due to URL templating: "http://{env}.{dc}.example.com".
        UrlComponentEncodingTester
          .newInstance()
          .nonPrintableAscii(Encoding.FORBIDDEN)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Aug 04 07:38:48 GMT 2025
    - 69.9K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. docs/tr/docs/virtual-environments.md

    <div class="termy">
    
    ```console
    $ python main.py
    
    Hello World
    ```
    
    </div>
    
    ## Editörünüzü Yapılandırın { #configure-your-editor }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 23.5K bytes
    - Click Count (0)
  6. docs/ru/docs/alternatives.md

    response = requests.get("http://example.com/some/url")
    ```
    
    Соответствующая в FastAPI API-операция пути могла бы выглядеть так:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    Посмотрите, насколько похожи `requests.get(...)` и `@app.get(...)`.
    
    /// check | Вдохновило **FastAPI** на
    
    * Иметь простой и понятный API.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 37.1K bytes
    - Click Count (0)
  7. docs/ru/docs/virtual-environments.md

    <div class="termy">
    
    ```console
    $ python main.py
    
    Hello World
    ```
    
    </div>
    
    ## Настройка вашего редактора кода { #configure-your-editor }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 33.5K bytes
    - Click Count (0)
  8. CHANGELOG/CHANGELOG-1.30.md

    - Kubelet: Fix the volume manager didn't check the device mount state in the actual state of the world before marking the volume as detached. It may cause a pod to be stuck in the Terminating state due to the above issue when it was deleted. ([#129063](https://github.com/kubernetes/kubernetes/pull/129063), [@carlory](https://github.com/carlory)) [SIG...
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Jun 18 18:59:10 GMT 2025
    - 398.1K bytes
    - Click Count (0)
  9. docs/uk/docs/alternatives.md

    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    Відповідна операція шляху API FastAPI може виглядати так:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    Зверніть увагу на схожість у `requests.get(...)` і `@app.get(...)`.
    
    /// check | Надихнуло **FastAPI** на
    
    * Мати простий та інтуїтивно зрозумілий API.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 37.2K bytes
    - Click Count (0)
  10. docs/de/docs/virtual-environments.md

    <div class="termy">
    
    ```console
    $ python main.py
    
    Hello World
    ```
    
    </div>
    
    ## Ihren Editor konfigurieren { #configure-your-editor }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 24.8K bytes
    - Click Count (0)
Back to Top