- Sort Score
- Result 10 results
- Languages All
Results 821 - 830 of 1,383 for Items (0.02 sec)
-
docs_src/body_multiple_params/tutorial004.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, importance: int = Body(gt=0), q: Union[str, None] = None, ):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Mar 10 18:49:18 UTC 2023 - 653 bytes - Viewed (0) -
docs_src/dependencies/tutorial008d.py
pass def get_username(): try: yield "Rick" except InternalError: print("We don't swallow the internal error here, we raise again π") raise @app.get("/items/{item_id}") def get_item(item_id: str, username: str = Depends(get_username)): if item_id == "portal-gun": raise InternalError( f"The portal gun is too dangerous to be owned by {username}" )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 694 bytes - Viewed (0) -
docs_src/sql_databases_peewee/sql_app/models.py
class Meta: database = db class Item(peewee.Model): title = peewee.CharField(index=True) description = peewee.CharField(index=True) owner = peewee.ForeignKeyField(User, backref="items") class Meta:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 465 bytes - Viewed (0) -
docs/em/docs/tutorial/handling-errors.md
```Python hl_lines="11" {!../../docs_src/handling_errors/tutorial001.py!} ``` ### π π¨ π₯ π©βπ» π¨ `http://example.com/items/foo` ( `item_id` `"foo"`), π π©βπ» π π¨ πΊπΈπ π π 2οΈβ£0οΈβ£0οΈβ£, & π» π¨: ```JSON { "item": "The Foo Wrestlers" } ``` βοΈ π₯ π©βπ» π¨ `http://example.com/items/bar` (π«-π« `item_id` `"bar"`), π π©βπ» π π¨ πΊπΈπ π π 4οΈβ£0οΈβ£4οΈβ£ ("π« π" β), & π» π¨: ```JSON {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.3K bytes - Viewed (0) -
docs/ko/docs/tutorial/first-steps.md
``` </div> ### 3 λ¨κ³: *κ²½λ‘ μλ* μμ± #### κ²½λ‘ μ¬κΈ°μ "κ²½λ‘"λ 첫 λ²μ§Έ `/`λΆν° μμνλ URLμ λ·λΆλΆμ μλ―Έν©λλ€. κ·Έλ¬λ―λ‘ μλμ κ°μ URLμμ: ``` https://example.com/items/foo ``` ...κ²½λ‘λ λ€μκ³Ό κ°μ΅λλ€: ``` /items/foo ``` /// info | "μ 보" "κ²½λ‘"λ μΌλ°μ μΌλ‘ "μλν¬μΈνΈ" λλ "λΌμ°νΈ"λΌκ³ λ λΆλ¦½λλ€. /// APIλ₯Ό μ€κ³ν λ "κ²½λ‘"λ "κ΄μ¬μ¬"μ "리μμ€"λ₯Ό λΆλ¦¬νκΈ° μν μ£Όμν λ°©λ²μ λλ€. #### μλ
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.4K bytes - Viewed (0) -
docs/en/docs/css/custom.css
a.announce-link:visited { color: #fff; } a.announce-link:hover { color: var(--md-accent-fg-color); } .announce-wrapper { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; } .announce-wrapper div.item { display: none; } .announce-wrapper .sponsor-badge { display: block; position: absolute; top: -10px; right: 0; font-size: 0.5rem;
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Jul 17 02:12:29 UTC 2024 - 2.9K bytes - Viewed (0) -
tests/test_filter_pydantic_sub_model_pv2.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 6.3K bytes - Viewed (0) -
tests/test_tutorial/test_request_form_models/test_tutorial002_pv1_an.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 17:31:18 UTC 2024 - 6.4K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_02_py310.py
"properties": { "detail": { "title": "Detail", "type": "array", "items": {"$ref": "#/components/schemas/ValidationError"}, } }, }, "ValidationError": { "title": "ValidationError",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8.5K bytes - Viewed (0) -
tests/test_response_class_no_mediatype.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.3K bytes - Viewed (0)