- Sort Score
- Result 10 results
- Languages All
Results 821 - 830 of 2,110 for defaults (0.1 sec)
-
tests/test_openapi_examples.py
"value": "item_2", }, }, ), ): return item_id @app.get("/query_examples/") def query_examples( data: Union[str, None] = Query( default=None, examples=[ "json_schema_query1", "json_schema_query2", ], openapi_examples={ "Query One": { "summary": "Query One Summary",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 15:57:43 UTC 2024 - 17.7K bytes - Viewed (0) -
cmd/bucket-replication-utils_gen.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 61.1K bytes - Viewed (0) -
docs_src/body_fields/tutorial001.py
from typing import Union from fastapi import Body, FastAPI from pydantic import BaseModel, Field app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = Field( default=None, title="The description of the item", max_length=300 ) price: float = Field(gt=0, description="The price must be greater than zero") tax: Union[float, None] = None @app.put("/items/{item_id}")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 561 bytes - Viewed (0) -
docs/auditlog/auditlog-echo.md
# `auditlog-echo`: A tool to view MinIO Audit logs on the console 1. Run the tool with: ``` go run docs/auditlog/auditlog-echo.go ``` The listen port has a default value (8080), but can be set with the `-port` flag. 2. Configure audit logging in MinIO with for example: ``` mc admin config set myminio audit_webhook enable=on endpoint=http://localhost:8080 ```
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 21:31:13 UTC 2024 - 447 bytes - Viewed (0) -
internal/http/dial_dnscache.go
// If it fails to dial all IPs from cache it returns first error. If no baseDialFunc // is given, it sets default dial function. // // You can use returned dial function for `http.Transport.DialContext`. // // In this function, it uses functions from `rand` package. To make it really random, // you MUST call `rand.Seed` and change the value from the default in your application
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 03 19:30:51 UTC 2023 - 2.6K bytes - Viewed (0) -
cmd/batch-expire.go
// lessThan: "10MiB" # match objects with size less than this value (e.g. 10MiB) // greaterThan: 1MiB # match objects with size greater than this value (e.g. 1MiB) // purge: // # retainVersions: 0 # (default) delete all versions of the object. This option is the fastest. // # retainVersions: 5 # keep the latest 5 versions of the object. // // - type: deleted # objects with delete marker as their latest version
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 18 17:59:03 UTC 2024 - 21.9K bytes - Viewed (0) -
.idea/codeStyles/codeStyleConfig.xml
<component name="ProjectCodeStyleConfiguration"> <state> <option name="USE_PER_PROJECT_SETTINGS" value="true" /> <option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" /> </state>
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue May 14 13:10:36 UTC 2024 - 210 bytes - Viewed (0) -
docs_src/cookie_params/tutorial001_py310.py
from fastapi import Cookie, FastAPI app = FastAPI() @app.get("/items/") async def read_items(ads_id: str | None = Cookie(default=None)):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 170 bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial012_py39.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 192 bytes - Viewed (0) -
istioctl/pkg/writer/pilot/status.go
switch s.GetConfigStatus() { case xdsstatus.ConfigStatus_UNKNOWN: return ignoredStatus case xdsstatus.ConfigStatus_NOT_SENT: return "NOT SENT" default: status := s.GetConfigStatus().String() if s.LastUpdated != nil { status += " (" + duration.HumanDuration(time.Since(s.LastUpdated.AsTime())) + ")" } return status } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 21 22:47:20 UTC 2024 - 6.5K bytes - Viewed (0)