Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 3,482 for patch (0.09 sec)

  1. docs_src/sql_databases/tutorial002_py39.py

    def read_hero(hero_id: int, session: Session = Depends(get_session)):
        hero = session.get(Hero, hero_id)
        if not hero:
            raise HTTPException(status_code=404, detail="Hero not found")
        return hero
    
    
    @app.patch("/heroes/{hero_id}", response_model=HeroPublic)
    def update_hero(
        hero_id: int, hero: HeroUpdate, session: Session = Depends(get_session)
    ):
        hero_db = session.get(Hero, hero_id)
        if not hero_db:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. docs/pl/docs/tutorial/first-steps.md

    Jedna z:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...i te bardziej egzotyczne:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    W protokole HTTP można komunikować się z każdą ścieżką za pomocą jednej (lub więcej) "metod".
    
    ---
    
    Podczas tworzenia API zwykle używasz tych metod HTTP do wykonania określonej akcji.
    
    Zazwyczaj używasz:
    
    * `POST`: do tworzenia danych.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:51:30 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/first-steps.md

    #### 🛠️
    
    "🛠️" 📥 🔗 1️⃣ 🇺🇸🔍 "👩‍🔬".
    
    1️⃣:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...& 🌅 😍 🕐:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    🇺🇸🔍 🛠️, 👆 💪 🔗 🔠 ➡ ⚙️ 1️⃣ (⚖️ 🌅) 👫 "👩‍🔬".
    
    ---
    
    🕐❔ 🏗 🔗, 👆 🛎 ⚙️ 👫 🎯 🇺🇸🔍 👩‍🔬 🎭 🎯 🎯.
    
    🛎 👆 ⚙️:
    
    * `POST`: ✍ 💽.
    * `GET`: ✍ 💽.
    * `PUT`: ℹ 💽.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_body/test_tutorial001.py

    from unittest.mock import patch
    
    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture
    def client():
        from docs_src.body.tutorial001 import app
    
        client = TestClient(app)
        return client
    
    
    def test_body_float(client: TestClient):
        response = client.post("/items/", json={"name": "Foo", "price": 50.5})
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_body/test_tutorial001_py310.py

    from unittest.mock import patch
    
    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture
    def client():
        from docs_src.body.tutorial001_py310 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_body_float(client: TestClient):
        response = client.post("/items/", json={"name": "Foo", "price": 50.5})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15K bytes
    - Viewed (1)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

         * The {@link PathType} keys identify, for example, {@code --class-path} or {@code --module-path} options.
         * In the case of Java tools, the map may also contain {@code --patch-module} options, which are
         * {@linkplain org.apache.maven.api.JavaPathType#patchModule(String) handled in a special way}.
         *
         * <h4>Design note</h4>
         * All types of path are determined together because they are sometime mutually exclusive.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/first-steps.md

    #### Operação
    
    "Operação" aqui se refere a um dos "métodos" HTTP.
    
    Um dos:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...e os mais exóticos:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    No protocolo HTTP, você pode se comunicar com cada rota usando um (ou mais) desses "métodos".
    
    ---
    
    Ao construir APIs, você normalmente usa esses métodos HTTP para executar uma ação específica.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. docs/tr/docs/tutorial/first-steps.md

    Burada "operasyon" HTTP "metodlarından" birini ifade eder.
    
    Bunlardan biri:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...veya daha az kullanılan diğerleri:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    HTTP protokolünde, bu "metodlardan" birini (veya daha fazlasını) kullanarak her bir yol ile iletişim kurabilirsiniz.
    
    ---
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. docs/uk/docs/tutorial/first-steps.md

    ### Крок 3: визначте операцію шляху (path operation)
    
    #### Шлях (path)
    
    "Шлях" це частина URL, яка йде одразу після символу `/`.
    
    Отже, у такому URL, як:
    
    ```
    https://example.com/items/foo
    ```
    
    ...шлях буде:
    
    ```
    /items/foo
    ```
    
    /// info | "Додаткова інформація"
    
    "Шлях" (path) також зазвичай називають "ендпоінтом" (endpoint) або "маршрутом" (route).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/first-steps.md

    ### Step 3: create a *path operation*
    
    #### Path
    
    "Path" here refers to the last part of the URL starting from the first `/`.
    
    So, in a URL like:
    
    ```
    https://example.com/items/foo
    ```
    
    ...the path would be:
    
    ```
    /items/foo
    ```
    
    /// info
    
    A "path" is also commonly called an "endpoint" or a "route".
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:48:16 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top