- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 348 for veri (0.25 sec)
-
tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310_pv1.py
@needs_py310 @needs_pydanticv1 def test_post_body_example(client: TestClient): response = client.put( "/items/5", json={ "name": "Foo", "description": "A very nice Item", "price": 35.4, "tax": 3.2, }, ) assert response.status_code == 200 @needs_py310 @needs_pydanticv1 def test_openapi_schema(client: TestClient):
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 4.5K bytes - Viewed (0) -
docs/en/docs/how-to/graphql.md
# GraphQL As **FastAPI** is based on the **ASGI** standard, it's very easy to integrate any **GraphQL** library also compatible with ASGI. You can combine normal FastAPI *path operations* with GraphQL on the same application. !!! tip **GraphQL** solves some very specific use cases. It has **advantages** and **disadvantages** when compared to common **web APIs**.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Aug 19 19:54:04 GMT 2023 - 3.4K bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial003_py310.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 574 bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial001_py310_pv1.py
price: float tax: float | None = None class Config: schema_extra = { "examples": [ { "name": "Foo", "description": "A very nice Item", "price": 35.4, "tax": 3.2, } ] } @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 631 bytes - Viewed (0) -
ci/official/upload.sh
gcloud auth activate-service-account --key-file="$TFCI_ARTIFACT_FINAL_GCS_SA_PATH" # $TF_VER_FULL will resolve to e.g. "2.15.0-rc2". Since $TF_VER_FULL comes # from get_versions.sh, which must be run *after* update_version.py, FINAL_URI # can't be set inside the rest of the _upload envs. FINAL_URI="$TFCI_ARTIFACT_FINAL_GCS_URI/$TF_VER_FULL" gsutil -m rsync -d -r "$DOWNLOADS" "$FINAL_URI"
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 24 20:52:12 GMT 2024 - 2.8K bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial002.py
from fastapi import FastAPI from pydantic import BaseModel, Field app = FastAPI() class Item(BaseModel): name: str = Field(examples=["Foo"]) description: Union[str, None] = Field(default=None, examples=["A very nice Item"]) price: float = Field(examples=[35.4]) tax: Union[float, None] = Field(default=None, examples=[3.2]) @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 517 bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial004_an.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jul 01 16:43:29 GMT 2023 - 965 bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial004_an_py39.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jul 01 16:43:29 GMT 2023 - 936 bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial004.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jul 01 16:43:29 GMT 2023 - 824 bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial004_an_py310.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jul 01 16:43:29 GMT 2023 - 917 bytes - Viewed (0)