- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 338 for pead (0.13 sec)
-
docs/de/docs/tutorial/first-steps.md
``` </div> ### Schritt 3: Erstellen einer *Pfadoperation* #### Pfad „Pfad“ bezieht sich hier auf den letzten Teil der URL, beginnend mit dem ersten `/`. In einer URL wie: ``` https://example.com/items/foo ``` ... wäre der Pfad folglich: ``` /items/foo ``` !!! info Ein „Pfad“ wird häufig auch als „Endpunkt“ oder „Route“ bezeichnet.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jan 13 12:16:22 GMT 2024 - 10.5K bytes - Viewed (0) -
tests/test_response_by_alias.py
@app.get("/dict", response_model=Model, response_model_by_alias=False) def read_dict(): return {"alias": "Foo"} @app.get("/model", response_model=Model, response_model_by_alias=False) def read_model(): return Model(alias="Foo") @app.get("/list", response_model=List[Model], response_model_by_alias=False) def read_list(): return [{"alias": "Foo"}, {"alias": "Bar"}]
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 11.1K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.3K bytes - Viewed (0) -
fastapi/security/oauth2.py
For example, a single string with: ```python "items:read items:write users:read profile openid" ```` would represent the scopes: * `items:read` * `items:write` * `users:read` * `profile` * `openid` """ ),
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 21.1K bytes - Viewed (1) -
tests/test_tutorial/test_testing/test_tutorial001.py
from docs_src.app_testing.tutorial001 import client, test_read_main def test_main(): test_read_main() def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/": { "get": {
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 821 bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
...and the more exotic ones: * `OPTIONS` * `HEAD` * `PATCH` * `TRACE` In the HTTP protocol, you can communicate to each path using one (or more) of these "methods". --- When building APIs, you normally use these specific HTTP methods to perform a specific action. Normally you use: * `POST`: to create data. * `GET`: to read data. * `PUT`: to update data. * `DELETE`: to delete data.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 12K bytes - Viewed (0) -
tests/test_tutorial/test_extra_data_types/test_tutorial001.py
} } }, }, }, "summary": "Read Items", "operationId": "read_items_items__item_id__put", "parameters": [ { "required": True, "schema": {
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Apr 19 00:11:40 GMT 2024 - 6.8K bytes - Viewed (0) -
tests/test_tutorial/test_testing/test_main_b_an.py
def test_app(): test_main.test_create_existing_item() test_main.test_create_item() test_main.test_create_item_bad_token() test_main.test_read_nonexistent_item() test_main.test_read_item()
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Mar 13 19:07:10 GMT 2024 - 303 bytes - Viewed (1) -
tests/test_tutorial/test_security/test_tutorial005_an.py
def test_read_items(): access_token = get_access_token(scope="me items") response = client.get( "/users/me/items/", headers={"Authorization": f"Bearer {access_token}"} ) assert response.status_code == 200, response.text assert response.json() == [{"item_id": "Foo", "owner": "johndoe"}] def test_read_system_status(): access_token = get_access_token()
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Mar 13 19:07:10 GMT 2024 - 15.4K bytes - Viewed (0) -
docs_src/metadata/tutorial001_1.py
from fastapi import FastAPI description = """ ChimichangApp API helps you do awesome stuff. 🚀 ## Items You can **read items**. ## Users You will be able to: * **Create users** (_not implemented_). * **Read users** (_not implemented_). """ app = FastAPI( title="ChimichangApp", description=description, summary="Deadpool's favorite app. Nuff said.", version="0.0.1",
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 767 bytes - Viewed (0)