- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 129 for World (0.12 sec)
-
docs/em/docs/tutorial/first-steps.md
``` ๐ โธ ๐ฆ ๐ ๐โ ๐ ๐ฑ โ ๐ฆ, ๐ ๐ง๐ฟ ๐ฐ. ### โ โซ๏ธ ๐ ๐ ๐ฅ <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>. ๐ ๐ ๐ ๐ป ๐จ: ```JSON {"message": "Hello World"} ``` ### ๐ ๐ ๏ธ ๐ฉบ ๐ ๐ถ <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.1K bytes - Viewed (0) -
docs_src/custom_response/tutorial009c.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Sep 01 09:32:30 GMT 2022 - 451 bytes - Viewed (0) -
docs_src/sub_applications/tutorial001.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jun 11 21:53:19 GMT 2020 - 274 bytes - Viewed (0) -
docs/en/docs/how-to/nosql-databases-couchbase.md
## Add a function to get a `Bucket` In **Couchbase**, a bucket is a set of documents, that can be of different types. They are generally all related to the same application. The analogy in the relational database world would be a "database" (a specific database, not the database server). The analogy in **MongoDB** would be a "collection". In the code, a `Bucket` represents the main entrypoint of communication with the database.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 16 13:23:25 GMT 2024 - 6K bytes - Viewed (0) -
tests/test_response_change_status_code.py
@app.get("/", dependencies=[Depends(parent_dep)]) async def get_main(): return {"msg": "Hello World"} client = TestClient(app) def test_dependency_set_status_code(): response = client.get("/") assert response.status_code == 201, response.text
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Apr 08 04:37:38 GMT 2020 - 589 bytes - Viewed (0) -
docs/bn/docs/index.md
- `main.py` เฆจเฆพเฆฎเง เฆเฆเฆเฆฟ เฆซเฆพเฆเฆฒ เฆคเงเฆฐเฆฟ เฆเฆฐเงเฆจ: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} ``` <details markdown="1">
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 23:58:47 GMT 2024 - 30.2K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
### Check it Open your browser at <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>. You will see the JSON response as: ```JSON {"message": "Hello World"} ``` ### Interactive API docs Now go to <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
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) -
docs_src/app_testing/tutorial002.py
from fastapi import FastAPI from fastapi.testclient import TestClient from fastapi.websockets import WebSocket app = FastAPI() @app.get("/") async def read_main(): return {"msg": "Hello World"} @app.websocket("/ws") async def websocket(websocket: WebSocket): await websocket.accept() await websocket.send_json({"msg": "Hello WebSocket"}) await websocket.close() def test_read_main():
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Feb 08 10:23:07 GMT 2023 - 757 bytes - Viewed (0) -
tests/test_deprecated_openapi_prefix.py
@app.get("/app") def read_main(request: Request): return {"message": "Hello World", "root_path": request.scope.get("root_path")} client = TestClient(app) def test_main(): response = client.get("/app") assert response.status_code == 200 assert response.json() == {"message": "Hello World", "root_path": "/api/v1"} def test_openapi(): response = client.get("/openapi.json")
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1.2K bytes - Viewed (0) -
tests/test_tutorial/test_behind_a_proxy/test_tutorial001.py
client = TestClient(app, root_path="/api/v1") def test_main(): response = client.get("/app") assert response.status_code == 200 assert response.json() == {"message": "Hello World", "root_path": "/api/v1"} def test_openapi(): response = client.get("/openapi.json") assert response.status_code == 200 assert response.json() == { "openapi": "3.1.0",
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1K bytes - Viewed (0)