- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 2,381 for apps (0.04 sec)
-
common-protos/k8s.io/api/resource/v1alpha2/generated.proto
// This file was autogenerated by go-to-protobuf. Do not edit it manually! syntax = "proto2"; package k8s.io.api.resource.v1alpha2; import "k8s.io/api/core/v1/generated.proto"; import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"; import "k8s.io/apimachinery/pkg/runtime/generated.proto"; import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto"; // Package-wide variables from generator "generated".
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 14.4K bytes - Viewed (0) -
tests/test_response_model_data_filter_no_inheritance.py
owner: User @app.post("/users/", response_model=User) async def create_user(user: UserCreate): return user @app.get("/pets/{pet_id}", response_model=PetOut) async def read_pet(pet_id: int): user = UserDB( email="******@****.***", hashed_password="secrethashed", ) pet = PetDB(name="Nibbler", owner=user) return pet @app.get("/pets/", response_model=List[PetOut])
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 1.7K bytes - Viewed (0) -
docs_src/path_operation_configuration/tutorial002_py39.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None tags: set[str] = set() @app.post("/items/", response_model=Item, tags=["items"]) async def create_item(item: Item): return item @app.get("/items/", tags=["items"]) async def read_items():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 575 bytes - Viewed (0) -
docs/pt/docs/deployment/manually.md
``` </div> /// note | "Nota" O comando `uvicorn main:app` refere-se a: * `main`: o arquivo `main.py` (o "módulo" Python). * `app`: o objeto criado dentro de `main.py` com a linha `app = FastAPI()`. É equivalente a: ```Python from main import app ``` /// Cada programa de servidor ASGI alternativo teria um comando semelhante, você pode ler mais na documentação respectiva.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 20 11:10:02 UTC 2024 - 8.2K bytes - Viewed (0) -
scripts/docs.py
@app.command() def verify_docs(): verify_readme() verify_config() verify_non_translated() @app.command() def langs_json(): langs = [] for lang_path in get_lang_paths(): if lang_path.is_dir(): langs.append(lang_path.name) print(json.dumps(langs)) @app.command()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 08 11:01:17 UTC 2024 - 13.5K bytes - Viewed (0) -
tests/test_repeated_cookie_headers.py
from fastapi.testclient import TestClient app = FastAPI() def set_cookie(*, response: Response): response.set_cookie("cookie-name", "cookie-value") return {} def set_indirect_cookie(*, dep: str = Depends(set_cookie)): return dep @app.get("/directCookie") def get_direct_cookie(dep: str = Depends(set_cookie)): return {"dep": dep} @app.get("/indirectCookie")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Jun 13 12:44:51 UTC 2020 - 792 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RequestCommonTest.kt
.build() assertThat(request.tag<Any>()).isNull() assertThat(request.tag(Any::class)).isNull() assertThat(request.tag(String::class)).isNull() // Alternate access APIs also work. assertThat(request.tag<String>()).isNull() assertThat(request.tag(String::class)).isNull() } @Test fun defaultTag() { val tag = "1234" val request =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.h
extern "C" { #endif // ============================================================================= // Unified Execution APIs for Eager and tracing backends. // ============================================================================= // ----------------------------------------------------------------------------- // Core APIs // -----------------------------------------------------------------------------
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sun Oct 24 11:27:00 UTC 2021 - 7K bytes - Viewed (0) -
docs_src/dependency_testing/tutorial001.py
from fastapi.testclient import TestClient app = FastAPI() async def common_parameters( q: Union[str, None] = None, skip: int = 0, limit: int = 100 ): return {"q": q, "skip": skip, "limit": limit} @app.get("/items/") async def read_items(commons: dict = Depends(common_parameters)): return {"message": "Hello Items!", "params": commons} @app.get("/users/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 1.5K bytes - Viewed (0) -
docs_src/dependency_testing/tutorial001_an_py310.py
from fastapi.testclient import TestClient app = FastAPI() async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100): return {"q": q, "skip": skip, "limit": limit} @app.get("/items/") async def read_items(commons: Annotated[dict, Depends(common_parameters)]): return {"message": "Hello Items!", "params": commons} @app.get("/users/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 1.5K bytes - Viewed (0)