- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 893 for edata (0.01 seconds)
-
tests/test_tutorial/test_security/test_tutorial003.py
def test_login(client: TestClient): 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(client: TestClient): response = client.post( "/token", data={"username": "johndoe", "password": "incorrect"} )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 7.7K bytes - Click Count (0) -
docs/ru/docs/tutorial/request-files.md
`UploadFile` имеет следующие методы `async`. Все они вызывают соответствующие файловые методы (используя внутренний `SpooledTemporaryFile`). * `write(data)`: Записать данные `data` (`str` или `bytes`) в файл. * `read(size)`: Прочитать количество `size` (`int`) байт/символов из файла. * `seek(offset)`: Перейти к байту на позиции `offset` (`int`) в файле.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:24:39 GMT 2025 - 11.7K bytes - Click Count (0) -
cmd/xl-storage_test.go
t.Fatalf("Unable to create volume %s: %v", volume, err) } data := make([]byte, 8*1024) if _, err = io.ReadFull(rand.Reader, data); err != nil { t.Fatalf("Unable to create generate random data: %v", err) } if err = xlStorage.AppendFile(t.Context(), volume, object, data); err != nil { t.Fatalf("Unable to create object: %v", err) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 66K bytes - Click Count (0) -
cmd/metrics-v3-replication.go
"Average replication data transfer rate in bytes/sec") replicationCurrentActiveWorkersMD = NewGaugeMD(replicationCurrentActiveWorkers, "Total number of active replication workers") replicationCurrentDataTransferRateMD = NewGaugeMD(replicationCurrentDataTransferRate, "Current replication data transfer rate in bytes/sec")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 15 12:04:40 GMT 2024 - 4.6K bytes - Click Count (0) -
cmd/object_api_suite_test.go
func newTestReaderEOF(data []byte) io.Reader { return &testOneByteReadEOF{false, data} } // OneByteReadEOF - implements io.Reader which returns 1 byte along with io.EOF error. type testOneByteReadEOF struct { eof bool data []byte } func (r *testOneByteReadEOF) Read(p []byte) (n int, err error) { if r.eof { return 0, io.EOF } n = copy(p, r.data) r.eof = true return n, io.EOF }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 34.5K bytes - Click Count (0) -
docs/en/docs/advanced/advanced-dependencies.md
For example, if you had a database session in a dependency with `yield`, the `StreamingResponse` would not be able to use that session while streaming data because the session would have already been closed in the exit code after `yield`. This behavior was reverted in 0.118.0, to make the exit code after `yield` be executed after the response is sent. /// info
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Nov 13 07:37:15 GMT 2025 - 9.1K bytes - Click Count (0) -
tests/delete_test.go
if len(results) != 2 { t.Errorf("failed to return delete data, got %v", results) } var count int64 DB.Model(&User{}).Where("name IN ?", []string{users[0].Name, users[1].Name, users[2].Name}).Count(&count) if count != 1 { t.Errorf("failed to delete data, current count %v", count) } } func TestDeleteReturning(t *testing.T) {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 9.5K bytes - Click Count (0) -
schema/schema.go
callbackTypeAfterDelete callbackType = "AfterDelete" callbackTypeAfterFind callbackType = "AfterFind" ) // ErrUnsupportedDataType unsupported data type var ErrUnsupportedDataType = errors.New("unsupported data type") type Schema struct { Name string ModelType reflect.Type Table string PrioritizedPrimaryField *Field
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Oct 31 12:13:56 GMT 2025 - 13.1K bytes - Click Count (0) -
docs/en/docs/tutorial/handling-errors.md
These handlers are in charge of returning the default JSON responses when you `raise` an `HTTPException` and when the request has invalid data. You can override these exception handlers with your own. ### Override request validation exceptions { #override-request-validation-exceptions } When a request contains invalid data, **FastAPI** internally raises a `RequestValidationError`. And it also includes a default exception handler for it.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9K bytes - Click Count (0) -
README.md
The following commands set a local alias, validate the server information, create a bucket, copy data to that bucket, and list the contents of the bucket. ```sh mc alias set local http://localhost:9000 minioadmin minioadmin mc admin info mc mb data mc cp ~/Downloads/mydata data/ mc ls data/ ```
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Dec 03 08:13:11 GMT 2025 - 9K bytes - Click Count (0)