- Sort Score
- Num 10 results
- Language All
Results 1141 - 1150 of 1,865 for True (0.33 seconds)
-
docs_src/body_updates/tutorial002_py310.py
@app.patch("/items/{item_id}", response_model=Item) async def update_item(item_id: str, item: Item): stored_item_data = items[item_id] stored_item_model = Item(**stored_item_data) update_data = item.model_dump(exclude_unset=True) updated_item = stored_item_model.model_copy(update=update_data) items[item_id] = jsonable_encoder(updated_item)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 1022 bytes - Click Count (0) -
scripts/playwright/separate_openapi_schemas/image05.py
context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_role("button", name="Item", exact=True).click() page.set_viewport_size({"width": 960, "height": 700}) # Manually add the screenshot page.screenshot( path="docs/en/docs/img/tutorial/separate-openapi-schemas/image05.png" )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Sep 13 09:14:46 GMT 2024 - 984 bytes - Click Count (0) -
cmd/erasure-sets.go
disk.Close() return nil, nil, fmt.Errorf("Drive: %s returned %w", disk, err) // make sure to '%w' to wrap the error } disk.Close() disk, err = newStorageAPI(endpoint, storageOpts{ cleanUp: true, healthCheck: true, }) if err != nil { return nil, nil, err } return disk, format, nil } // findDiskIndex - returns the i,j'th position of the input `diskID` against the reference
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37K bytes - Click Count (1) -
.teamcity/.mvn/develocity.xml
~ limitations under the License. --> <develocity> <server> <url>https://ge.gradle.org</url> </server> <buildScan> <publishing> <onlyIf>true</onlyIf> </publishing> <values> <value> <name>PartOf</name> <value>QuickFeedbackLinuxOnly</value> </value> <value>
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jan 07 10:57:45 GMT 2025 - 1.2K bytes - Click Count (0) -
cmd/auth-handler.go
BucketName: bucket, ConditionValues: getConditionValues(r, "", cred), ObjectName: object, IsOwner: owner, Claims: cred.Claims, DenyOnly: true, }) { // Request is not allowed if Deny action on DeleteObjectVersionAction return ErrAccessDenied } } if globalIAMSys.IsAllowed(policy.Args{ AccountName: cred.AccessKey,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 25.4K bytes - Click Count (0) -
internal/event/target/postgresql.go
return target.ID().String() } // Store returns any underlying store if set. func (target *PostgreSQLTarget) Store() event.TargetStore { return target.store } // IsActive - Return true if target is up and active func (target *PostgreSQLTarget) IsActive() (bool, error) { if err := target.init(); err != nil { return false, err } return target.isActive() }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 13.3K bytes - Click Count (0) -
helm/minio/README.md
install [a networking plugin that implements the Kubernetes NetworkPolicy spec](https://kubernetes.io/docs/tasks/administer-cluster/declare-network-policy#before-you-begin), and set `networkPolicy.enabled` to `true`. For Kubernetes v1.5 & v1.6, you must also turn on NetworkPolicy by setting the DefaultDeny namespace annotation. Note: this will enforce policy for *all* pods in the namespace: ```
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 10.9K bytes - Click Count (0) -
src/archive/tar/reader_test.go
in string want map[string]string ok bool }{ {"", nil, true}, {"6 k=1\n", map[string]string{"k": "1"}, true}, {"10 a=name\n", map[string]string{"a": "name"}, true}, {"9 a=name\n", map[string]string{"a": "name"}, true}, {"30 mtime=1350244992.023960108\n", map[string]string{"mtime": "1350244992.023960108"}, true}, {"3 somelongkey=\n", nil, false}, {"50 tooshort=\n", nil, false},
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 47.5K bytes - Click Count (0) -
tests/test_tutorial/test_security/test_tutorial004.py
alice_user_data = { "username": "alice", "full_name": "Alice Wonderson", "email": "******@****.***", "hashed_password": mod.get_password_hash("secretalice"), "disabled": True, } with patch.dict(f"{mod.__name__}.fake_users_db", {"alice": alice_user_data}): access_token = get_access_token( username="alice", password="secretalice", client=client )Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 13.3K bytes - Click Count (0) -
tests/test_required_noneable.py
return q @app.get("/explicit-query") def read_explicit_query(q: Union[str, None] = Query()): return q @app.post("/body-embed") def send_body_embed(b: Union[str, None] = Body(embed=True)): return b client = TestClient(app) def test_required_nonable_query_invalid(): response = client.get("/query") assert response.status_code == 422
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat May 14 19:08:31 GMT 2022 - 1.5K bytes - Click Count (0)