Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 1,385 for putA (0.04 sec)

  1. tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py310.py

        expected_response.update(
            {
                "start_process": "2018-12-22T14:05:00+00:00",
                "duration": 176_100,
                "item_id": item_id,
            }
        )
        response = client.put(f"/items/{item_id}", json=data)
        assert response.status_code == 200, response.text
        assert response.json() == expected_response
    
    
    @needs_py310
    def test_openapi_schema(client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/first-steps.md

    1️⃣:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...& πŸŒ… 😍 πŸ•:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    πŸ‡ΊπŸ‡ΈπŸ” πŸ› οΈ, πŸ‘† πŸ’ͺ πŸ”— πŸ”  ➑ βš™οΈ 1️⃣ (βš–οΈ πŸŒ…) πŸ‘« "πŸ‘©β€πŸ”¬".
    
    ---
    
    πŸ•β” πŸ— πŸ”—, πŸ‘† πŸ›Ž βš™οΈ πŸ‘« 🎯 πŸ‡ΊπŸ‡ΈπŸ” πŸ‘©β€πŸ”¬ 🎭 🎯 🎯.
    
    πŸ›Ž πŸ‘† βš™οΈ:
    
    * `POST`: ✍ πŸ’½.
    * `GET`: ✍ πŸ’½.
    * `PUT`: β„Ή πŸ’½.
    * `DELETE`: ❎ πŸ’½.
    
    , πŸ—„, πŸ”  πŸ‡ΊπŸ‡ΈπŸ” πŸ‘©β€πŸ”¬ πŸ€™ "πŸ› οΈ".
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. docs_src/body_updates/tutorial001_py39.py

        "baz": {"name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": []},
    }
    
    
    @app.get("/items/{item_id}", response_model=Item)
    async def read_item(item_id: str):
        return items[item_id]
    
    
    @app.put("/items/{item_id}", response_model=Item)
    async def update_item(item_id: str, item: Item):
        update_item_encoded = jsonable_encoder(item)
        items[item_id] = update_item_encoded
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 900 bytes
    - Viewed (0)
  4. docs_src/body_multiple_params/tutorial002.py

        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    class User(BaseModel):
        username: str
        full_name: Union[str, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item, user: User):
        results = {"item_id": item_id, "item": item, "user": user}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 490 bytes
    - Viewed (0)
  5. docs_src/body_multiple_params/tutorial003_py310.py

    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    class User(BaseModel):
        username: str
        full_name: str | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item, user: User, importance: int = Body()):
        results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 504 bytes
    - Viewed (0)
  6. docs_src/schema_extra_example/tutorial003_an_py310.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: int,
        item: Annotated[
            Item,
            Body(
                examples=[
                    {
                        "name": "Foo",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 673 bytes
    - Viewed (0)
  7. dbflute_fess/extlib/_readme.txt

    Directory for library extension
    
    If you use a database that DBFlute does not have its JDBC driver,
    put your own JDBC driver for the database here.
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Jul 04 22:46:31 UTC 2015
    - 177 bytes
    - Viewed (0)
  8. docs_src/body_nested_models/tutorial005_py39.py

    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
        image: Union[Image, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 512 bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingQueue.java

      @Override
      @CheckForNull
      public E poll(long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().poll(timeout, unit);
      }
    
      @Override
      public void put(E e) throws InterruptedException {
        delegate().put(e);
      }
    
      @Override
      public int remainingCapacity() {
        return delegate().remainingCapacity();
      }
    
      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

                }
            }
    
            return allRequired;
        }
    
        public void addRule(final String key, final String regex) {
            regexMap.put(key, Pattern.compile(regex));
        }
    
        public void addRule(final String key, final Pattern pattern) {
            regexMap.put(key, pattern);
        }
    
        public boolean isDefaultRule() {
            return defaultRule;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top