- Sort Score
- Result 10 results
- Languages All
Results 741 - 750 of 1,921 for data2 (0.13 sec)
-
tests/test_tutorial/test_body/test_tutorial001.py
"name": "Foo", "description": None, "price": 50.5, "tax": None, } def test_wrong_headers(client: TestClient): data = '{"name": "Foo", "price": 50.5}' response = client.post( "/items/", content=data, headers={"Content-Type": "text/plain"} ) assert response.status_code == 422, response.text assert response.json() == IsDict( {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 14.7K bytes - Viewed (0) -
tests/test_tutorial/test_body/test_tutorial001_py310.py
"description": None, "price": 50.5, "tax": None, } @needs_py310 def test_wrong_headers(client: TestClient): data = '{"name": "Foo", "price": 50.5}' response = client.post( "/items/", content=data, headers={"Content-Type": "text/plain"} ) assert response.status_code == 422, response.text assert response.json() == IsDict( {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 15K bytes - Viewed (1) -
src/main/java/jcifs/pac/PacCredentialType.java
public class PacCredentialType { private static final int MINIMAL_BUFFER_SIZE = 32; private byte[] credentialType; public PacCredentialType ( byte[] data ) throws PACDecodingException { this.credentialType = data; if ( !isCredentialTypeCorrect() ) { throw new PACDecodingException("Invalid PAC credential type"); } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.4K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial003_an.py
client = TestClient(app) def test_login(): response = client.post("/token", data={"username": "johndoe", "password": "secret"}) assert response.status_code == 200, response.text assert response.json() == {"access_token": "johndoe", "token_type": "bearer"} def test_login_incorrect_password(): response = client.post( "/token", data={"username": "johndoe", "password": "incorrect"} )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8K bytes - Viewed (0) -
src/main/assemblies/common-bin.xml
<directory>${project.basedir}/plugins</directory> <outputDirectory>fess-${project.version}/es/plugins</outputDirectory> </fileSet> <!-- es/data --> <fileSet> <directory>src/main/assemblies/files</directory> <outputDirectory>fess-${project.version}/es/data</outputDirectory> <excludes> <exclude>*</exclude> </excludes> <filtered>false</filtered> </fileSet> </fileSets> <files>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Mar 17 02:29:43 UTC 2022 - 3.7K bytes - Viewed (0) -
docs/en/docs/tutorial/body-multiple-params.md
It will perform the validation of the compound data, and will document it like that for the OpenAPI schema and automatic docs. ## Singular values in body The same way there is a `Query` and `Path` to define extra data for query and path parameters, **FastAPI** provides an equivalent `Body`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.6K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.cc
std::unordered_set<string> filtered_keys; BundleEntryProto entry; v2_reader_->Seek(kHeaderEntryKey); for (v2_reader_->Next(); v2_reader_->Valid(); v2_reader_->Next()) { CHECK(entry.ParseFromArray(v2_reader_->value().data(), v2_reader_->value().size())) << entry.InitializationErrorString(); for (int i = 0; i < entry.slices_size(); ++i) { const auto& slice_proto = entry.slices(i);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 5.6K bytes - Viewed (0) -
cmd/erasure-multipart.go
var buffer []byte switch size := data.Size(); { case size == 0: buffer = make([]byte, 1) // Allocate at least a byte to reach EOF case size == -1: if size := data.ActualSize(); size > 0 && size < fi.Erasure.BlockSize { // Account for padding and forced compression overhead and encryption. buffer = make([]byte, data.ActualSize()+256+32+32, data.ActualSize()*2+512) } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 44.7K bytes - Viewed (0) -
tests/test_security_oauth2_optional.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 10.8K bytes - Viewed (0) -
docs/debugging/s3-check-md5/main.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Feb 17 01:15:57 UTC 2024 - 6.3K bytes - Viewed (0)