- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 463 for mostly (0.04 sec)
-
docs_src/bigger_applications/app_py39/routers/users.py
from fastapi import APIRouter router = APIRouter() @router.get("/users/", tags=["users"]) async def read_users(): return [{"username": "Rick"}, {"username": "Morty"}] @router.get("/users/me", tags=["users"]) async def read_user_me(): return {"username": "fakecurrentuser"} @router.get("/users/{username}", tags=["users"]) async def read_user(username: str):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 407 bytes - Viewed (0) -
docs_src/openapi_webhooks/tutorial001_py39.py
data to the URL that you register for the event `new-subscription` in the dashboard. """ @app.get("/users/") def read_users():Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 550 bytes - Viewed (0) -
cmd/background-heal-ops.go
// healRoutine receives heal tasks, to heal buckets, objects and format.json type healRoutine struct { tasks chan healTask workers int } func activeListeners() int { // Bucket notification and http trace are not costly, it is okay to ignore them // while counting the number of concurrent connections return int(globalHTTPListen.Subscribers()) + int(globalTrace.Subscribers()) }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 4.6K bytes - Viewed (0) -
.github/dependabot.yml
# groups: # dependencies: # applies-to: version-updates # patterns: # - "*" - package-ecosystem: "github-actions" directory: "/" schedule: interval: "monthly" groups: github-actions: applies-to: version-updates patterns:Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Mar 21 21:15:53 UTC 2025 - 762 bytes - Viewed (0) -
docs_src/dependencies/tutorial008b_py39.py
from fastapi import Depends, FastAPI, HTTPException app = FastAPI() data = { "plumbus": {"description": "Freshly pickled plumbus", "owner": "Morty"}, "portal-gun": {"description": "Gun to create portals", "owner": "Rick"}, } class OwnerError(Exception): pass def get_username(): try: yield "Rick" except OwnerError as e: raise HTTPException(status_code=400, detail=f"Owner error: {e}")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 735 bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* SoftReference} (by default, strong references are used). Softly-referenced objects will be * garbage-collected in a <i>globally</i> least-recently-used manner, in response to memory * demand. * * <p><b>Warning:</b> in most circumstances it is better to set a per-cache {@linkplain
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 51.9K bytes - Viewed (0) -
docs/en/docs/external-links.md
/// info Before, this page used to list links to external articles. But now that FastAPI is the backend framework with the most GitHub stars across languages, and the most starred and used framework in Python, it no longer makes sense to attempt to list all articles written about it. /// ## GitHub Repositories
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 12:28:40 UTC 2025 - 917 bytes - Viewed (0) -
docs_src/dependencies/tutorial012_an_py39.py
@app.get("/items/") async def read_items(): return [{"item": "Portal Gun"}, {"item": "Plumbus"}] @app.get("/users/") async def read_users():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 746 bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial002b.py
assert response.json() == ["Portal gun", "Plumbus"] def test_get_users(): response = client.get("/users/") assert response.status_code == 200, response.text assert response.json() == ["Rick", "Morty"] def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.7K bytes - Viewed (0) -
docs/pt/docs/tutorial/path-params.md
{* ../../docs_src/path_params/tutorial005_py39.py hl[16] *} ### Verifique a documentação { #check-the-docs } Como os valores disponíveis para o *parâmetro de path* são predefinidos, a documentação interativa pode mostrá-los de forma agradável: <img src="/img/tutorial/path-params/image03.png"> ### Trabalhando com *enumerações* do Python { #working-with-python-enumerations }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 9.8K bytes - Viewed (0)