- Sort Score
- Result 10 results
- Languages All
Results 1591 - 1600 of 2,708 for most (0.02 sec)
-
docs_src/header_param_models/tutorial001_py39.py
from typing import Union from fastapi import FastAPI, Header from pydantic import BaseModel app = FastAPI() class CommonHeaders(BaseModel): host: str save_data: bool if_modified_since: Union[str, None] = None traceparent: Union[str, None] = None x_tag: list[str] = [] @app.get("/items/") async def read_items(headers: CommonHeaders = Header()):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 390 bytes - Viewed (0) -
src/clean.bash
#!/usr/bin/env bash # Copyright 2009 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. set -e if [ ! -f run.bash ]; then echo 'clean.bash must be run from $GOROOT/src' 1>&2 exit 1 fi export GOROOT="$(cd .. && pwd)" gobin="${GOROOT}"/bin if ! "$gobin"/go help >/dev/null 2>&1; then echo 'cannot find go command; nothing to clean' >&2 exit 1 fi
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Feb 26 21:54:09 UTC 2020 - 518 bytes - Viewed (0) -
src/all.bat
if %GOBUILDFAIL%==1...
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Apr 19 14:36:22 UTC 2023 - 543 bytes - Viewed (0) -
docs_src/extra_models/tutorial001_py310.py
hashed_password = fake_password_hasher(user_in.password) user_in_db = UserInDB(**user_in.dict(), hashed_password=hashed_password) print("User saved! ..not really") return user_in_db @app.post("/user/", response_model=UserOut) async def create_user(user_in: UserIn): user_saved = fake_save_user(user_in)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 899 bytes - Viewed (0) -
tests/test_filter_pydantic_sub_model/app_pv1.py
name: str description: Optional[str] = None model_b: ModelB @validator("name") def lower_username(cls, name: str, values): if not name.endswith("A"): raise ValueError("name must end in A") return name async def get_model_c() -> ModelC: return ModelC(username="test-user", password="test-password") @app.get("/model/{name}", response_model=ModelA)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 784 bytes - Viewed (0) -
okhttp-hpacktests/README.md
OkHttp HPACK tests ================== These tests use the [hpack-test-case][1] project to validate OkHttp's HPACK implementation. The HPACK test cases are in a separate git submodule, so to initialize them, you must run: git submodule init git submodule update TODO ---- * Add maven goal to avoid manual call to git submodule init. * Make hpack-test-case update itself from git, and run new tests.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Dec 15 16:59:53 UTC 2014 - 578 bytes - Viewed (0) -
scripts/playwright/sql_databases/image02.py
# Update the viewport manually context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_label("post /heroes/").click() # Manually add the screenshot page.screenshot(path="docs/en/docs/img/tutorial/sql-databases/image02.png") # --------------------- context.close() browser.close()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 1.1K bytes - Viewed (0) -
ci/official/requirements_updater/requirements.in
gast == 0.4.0 termcolor == 2.3.0 wrapt == 1.16.0 tblib == 2.0.0 ml_dtypes >= 0.4.0, < 0.5.0 # Install tensorboard, and keras # Note that here we want the latest version that matches TF major.minor version # Note that we must use nightly here as these are used in nightly jobs # For release jobs, we will pin these on the release branch keras-nightly ~= 3.0.0.dev tb-nightly ~= 2.19.0.a # Test dependencies grpcio >= 1.24.3, < 2.0
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Oct 01 18:46:13 UTC 2024 - 905 bytes - Viewed (0) -
docs_src/path_operation_configuration/tutorial001_py39.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 401 bytes - Viewed (0) -
cni/test/testdata/expected/minikube_cni.conflist.expected
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 733 bytes - Viewed (0)