- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 139 for get_object (0.1 sec)
-
tests/test_serialize_response_dataclass.py
@app.get("/items/valid", response_model=Item) def get_valid(): return {"name": "valid", "date": datetime(2021, 7, 26), "price": 1.0} @app.get("/items/object", response_model=Item) def get_object(): return Item( name="object", date=datetime(2021, 7, 26), price=1.0, owner_ids=[1, 2, 3] ) @app.get("/items/coerce", response_model=Item) def get_coerce():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 26 13:56:47 UTC 2022 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/WebApiUtil.java
private WebApiUtil() { } public static void setObject(final String name, final Object value) { LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(name, value)); } @SuppressWarnings("unchecked") public static <T> T getObject(final String name) { return LaRequestUtil.getOptionalRequest().map(req -> (T) req.getAttribute(name)).orElse(null);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.9K bytes - Viewed (0) -
cmd/global-heal.go
// If we resume to the same bucket, forward to last known item. b := tracker.getBucket() if b == bucket { forwardTo = tracker.getObject() } if b != "" { // Reset to where last bucket ended if resuming. tracker.resume() } tracker.setObject("") tracker.setBucket(bucket) // Heal current bucket again in case if it is failed // in the beginning of erasure set healing
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 16.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
/** * {@inheritDoc} * * @see java.lang.Object#toString() */ @Override public String toString () { return "Kerb5Authenticatior[subject=" + ( this.getSubject() != null ? this.getSubject().getPrincipals() : null ) + ",user=" + this.user + ",realm=" + this.realm + "]"; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 13K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java
private final Integer buildNumber; RemoteSnapshotMetadataGenerator(RepositorySystemSession session, DeployRequest request) { timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime"); Object bn = ConfigUtils.getObject(session, null, "maven.buildNumber"); if (bn instanceof Integer) { this.buildNumber = (Integer) bn; } else if (bn instanceof String) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.4K bytes - Viewed (0) -
cmd/object_api_suite_test.go
} } for key, value := range objects { var byteBuffer bytes.Buffer err = GetObject(context.Background(), obj, "bucket", key, 0, int64(len(value)), &byteBuffer, "", opts) if err != nil { t.Fatalf("%s: <ERROR> %s", instanceType, err) } if !bytes.Equal(byteBuffer.Bytes(), value) { t.Errorf("%s: Mismatch of GetObject data with the expected one.", instanceType) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 02 15:13:05 UTC 2024 - 33.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
} catch ( IOException e ) { throw new PACDecodingException("Malformed kerberos ticket", e); } Enumeration<?> fields = sequence.getObjects(); while ( fields.hasMoreElements() ) { ASN1TaggedObject tagged = ASN1Util.as(ASN1TaggedObject.class, fields); switch ( tagged.getTagNo() ) { case 0: // Ticket Flags
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 11.4K bytes - Viewed (0) -
cmd/admin-handlers-users_test.go
"Effect": "Allow", "Action": [ "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::%s" ] }, { "Effect": "Allow", "Action": [ "s3:PutObject", "s3:GetObject" ], "Resource": [ "arn:aws:s3:::%s/*" ] } ] }`, bucket, bucket)) err = s.adm.AddCannedPolicy(ctx, policy, policyBytes) if err != nil { c.Fatalf("policy add error: %v", err)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 47.3K bytes - Viewed (0) -
cmd/object-api-interface.go
} // GetObject - TODO(aead): This function just acts as an adapter for GetObject tests and benchmarks // since the GetObject method of the ObjectLayer interface has been removed. Once, the // tests are adjusted to use GetObjectNInfo this function can be removed.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 21:57:20 UTC 2024 - 17.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/JAASAuthenticator.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.1K bytes - Viewed (0)