- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 2,472 for kname (0.05 sec)
-
docs_src/response_model/tutorial001.py
class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None tags: List[str] = [] @app.post("/items/", response_model=Item) async def create_item(item: Item) -> Any: return item @app.get("/items/", response_model=List[Item]) async def read_items() -> Any: return [ {"name": "Portal Gun", "price": 42.0},
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Jan 07 13:45:48 UTC 2023 - 562 bytes - Viewed (1) -
docs_src/response_model/tutorial001_01_py39.py
app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None tags: list[str] = [] @app.post("/items/") async def create_item(item: Item) -> Item: return item @app.get("/items/") async def read_items() -> list[Item]: return [ Item(name="Portal Gun", price=42.0),
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Jan 07 13:45:48 UTC 2023 - 507 bytes - Viewed (0) -
docs_src/body_nested_models/tutorial007_py310.py
app = FastAPI() class Image(BaseModel): url: HttpUrl name: str class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() images: list[Image] | None = None class Offer(BaseModel): name: str description: str | None = None price: float items: list[Item]
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 520 bytes - Viewed (0) -
cmd/metrics-v2.go
Type: histogramMetric, } } func getBucketObjectVersionsMD() MetricDescription { return MetricDescription{ Namespace: bucketMetricNamespace, Subsystem: objectsSubsystem, Name: versionDistribution, Help: "Distribution of object sizes in the bucket, includes label for the bucket name", Type: histogramMetric, } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 131.9K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/configdump_test.go
) func TestConfigWriter_Prime(t *testing.T) { tests := []struct { name string wantConfigs int inputFile string wantErr bool }{ { name: "errors if unable to unmarshal bytes", inputFile: "", wantConfigs: 0, wantErr: true, }, { name: "loads valid ztunnel config_dump", inputFile: "testdata/dump.json", wantConfigs: 27,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 06 20:18:34 UTC 2024 - 3.6K bytes - Viewed (0) -
cmd/local-locker_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 11.9K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.h
// Attempts to look up the tensor named "name" and stores the found result in // "out_tensor". void GetTensor(const string& name, std::unique_ptr<tensorflow::Tensor>* out_tensor, TF_Status* out_status) const; private: // Uses "v2_reader_" to build "var name -> shape" and "var name -> data type" // maps; both owned by caller.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Oct 12 08:49:52 UTC 2023 - 3.1K bytes - Viewed (0) -
guava-gwt/src/com/google/thirdparty/publicsuffix/PublicSuffixType.gwt.xml
when we specify a nonexistent path. (I hope that this workaround does not cause its own problems in the future.) --> <super-source path="super"/> <inherits name="com.google.common.annotations.Annotations" /> <inherits name="com.google.gwt.core.Core" /> <inherits name="com.google.gwt.user.User" />
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 1.4K bytes - Viewed (0) -
helm/minio/templates/secrets.yaml
{{- if not .Values.existingSecret }} apiVersion: v1 kind: Secret metadata: name: {{ template "minio.secretName" . }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} type: Opaque data: rootUser: {{ include "minio.root.username" . | b64enc | quote }} rootPassword: {{ include "minio.root.password" . | b64enc | quote }}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Apr 12 04:09:29 UTC 2023 - 706 bytes - Viewed (0) -
src/archive/zip/reader_test.go
if f.Name != ft.Name { t.Errorf("name=%q, want %q", f.Name, ft.Name) } if !ft.Modified.IsZero() && !equalTimeAndZone(f.Modified, ft.Modified) { t.Errorf("%s: Modified=%s, want %s", f.Name, f.Modified, ft.Modified) } if !ft.ModTime.IsZero() && !equalTimeAndZone(f.ModTime(), ft.ModTime) { t.Errorf("%s: ModTime=%s, want %s", f.Name, f.ModTime(), ft.ModTime) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 55.6K bytes - Viewed (0)