- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 1,910 for DATA (0.03 sec)
-
tests/test_tutorial/test_request_form_models/test_tutorial002_an_py39.py
def test_post_body_form(client: TestClient): response = client.post("/login/", data={"username": "Foo", "password": "secret"}) assert response.status_code == 200 assert response.json() == {"username": "Foo", "password": "secret"} @needs_pydanticv2 @needs_py39 def test_post_body_extra_form(client: TestClient): response = client.post( "/login/", data={"username": "Foo", "password": "secret", "extra": "extra"} )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 17:31:18 UTC 2024 - 6.3K bytes - Viewed (0) -
docs_src/security/tutorial005_an_py310.py
if not user: return False if not verify_password(password, user.hashed_password): return False return user def create_access_token(data: dict, expires_delta: timedelta | None = None): to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else: expire = datetime.now(timezone.utc) + timedelta(minutes=15)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 5.2K bytes - Viewed (0) -
docs_src/security/tutorial005_an_py39.py
if not user: return False if not verify_password(password, user.hashed_password): return False return user def create_access_token(data: dict, expires_delta: Union[timedelta, None] = None): to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else: expire = datetime.now(timezone.utc) + timedelta(minutes=15)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
RenderDataUtil.register(data, "endpoint", fessConfig.getStorageEndpoint()); RenderDataUtil.register(data, "bucket", fessConfig.getStorageBucket()); RenderDataUtil.register(data, "path", path); RenderDataUtil.register(data, "pathItems", createPathItems(path)); RenderDataUtil.register(data, "parentId", createParentId(path));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 19.9K bytes - Viewed (0) -
cmd/erasure-heal_test.go
if err != nil { t.Fatalf("Test %d: failed to create ErasureStorage: %v", i, err) } data := make([]byte, test.size) if _, err = io.ReadFull(rand.Reader, data); err != nil { t.Fatalf("Test %d: failed to create random test data: %v", i, err) } buffer := make([]byte, test.blocksize, 2*test.blocksize) writers := make([]io.Writer, len(disks)) for i, disk := range disks {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 7.9K bytes - Viewed (0) -
tests/associations_has_one_test.go
} AssertAssociationCount(t, user2, "Account", 1, "after delete non-existing data") if err := DB.Model(&user2).Association("Account").Delete(&account2); err != nil { t.Fatalf("Error happened when delete Account, got %v", err) } AssertAssociationCount(t, user2, "Account", 0, "after delete") // Prepare Data for Clear account = Account{Number: "account-has-one-append"}
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 7.1K bytes - Viewed (0) -
cmd/erasure-utils.go
"github.com/klauspost/reedsolomon" ) // getDataBlockLen - get length of data blocks from encoded blocks. func getDataBlockLen(enBlocks [][]byte, dataBlocks int) int { size := 0 // Figure out the data block length. for _, block := range enBlocks[:dataBlocks] { size += len(block) } return size } // Writes all the data blocks from encoded blocks until requested
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/resources/fess_message.properties
errors.crud_failed_to_create_instance=Failed to create a new data. errors.crud_failed_to_create_crud_table=Failed to create a new data. ({0}) errors.crud_failed_to_update_crud_table=Failed to update the data. ({0}) errors.crud_failed_to_delete_crud_table=Failed to delete the data. ({0}) errors.crud_could_not_find_crud_table=Could not find the data({0}). errors.property_required={0} is required.
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Mar 18 03:05:44 UTC 2023 - 12.5K bytes - Viewed (0) -
src/main/resources/fess_message_en.properties
errors.crud_failed_to_create_instance=Failed to create a new data. errors.crud_failed_to_create_crud_table=Failed to create a new data. ({0}) errors.crud_failed_to_update_crud_table=Failed to update the data. ({0}) errors.crud_failed_to_delete_crud_table=Failed to delete the data. ({0}) errors.crud_could_not_find_crud_table=Could not find the data({0}). errors.property_required={0} is required.
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Mar 18 03:05:44 UTC 2023 - 12.4K bytes - Viewed (0) -
callbacks/preload.go
case reflect.Struct: tx.AddError(rel.Field.Set(tx.Statement.Context, data, elem.Interface())) case reflect.Slice, reflect.Array: if reflectFieldValue.Type().Elem().Kind() == reflect.Ptr { tx.AddError(rel.Field.Set(tx.Statement.Context, data, reflect.Append(reflectFieldValue, elem).Interface())) } else { tx.AddError(rel.Field.Set(tx.Statement.Context, data, reflect.Append(reflectFieldValue, elem.Elem()).Interface())) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:52:33 UTC 2024 - 11.6K bytes - Viewed (0)