Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 84 for updated_at (0.56 sec)

  1. cmd/admin-handlers-users.go

    	}
    
    	vars := mux.Vars(r)
    	group := vars["group"]
    	status := vars["status"]
    
    	var (
    		err       error
    		updatedAt time.Time
    	)
    	switch status {
    	case statusEnabled:
    		updatedAt, err = globalIAMSys.SetGroupStatus(ctx, group, true)
    	case statusDisabled:
    		updatedAt, err = globalIAMSys.SetGroupStatus(ctx, group, false)
    	default:
    		err = errInvalidArgument
    	}
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  2. cmd/bucket-versioning-handler.go

    	replLogIf(ctx, globalSiteReplicationSys.BucketMetaHook(ctx, madmin.SRBucketMeta{
    		Type:       madmin.SRBucketMetaTypeVersionConfig,
    		Bucket:     bucket,
    		Versioning: &cfgStr,
    		UpdatedAt:  updatedAt,
    	}))
    
    	writeSuccessResponseHeadersOnly(w)
    }
    
    // GetBucketVersioningHandler - GET Bucket Versioning.
    // ----------
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. docs_src/body_updates/tutorial002_py39.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.dict(exclude_unset=True)
        updated_item = stored_item_model.copy(update=update_data)
        items[item_id] = jsonable_encoder(updated_item)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 1K bytes
    - Viewed (0)
  4. src/main/resources/fess_indices/fess_log.user_info/user_info.json

    {
        "properties": {
          "createdAt": {
            "type": "date",
            "format": "date_optional_time"
          },
          "updatedAt": {
            "type": "date",
            "format": "date_optional_time"
          }
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Feb 24 22:07:26 UTC 2019
    - 215 bytes
    - Viewed (0)
  5. src/main/config/es/fess_log_user_info.json

        "aliases" : { },
        "mappings" : {
          "user_info" : {
            "properties" : {
              "createdAt" : {
                "type" : "date",
                "format" : "date_optional_time"
              },
              "updatedAt" : {
                "type" : "date",
                "format" : "date_optional_time"
              }
            }
          }
        },
        "settings" : {
          "index" : {
            "creation_date" : "1509021060613",
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Nov 05 07:28:42 UTC 2017
    - 689 bytes
    - Viewed (0)
  6. cmd/admin-handlers-idp-ldap.go

    		return
    	}
    
    	// Call IAM subsystem
    	updatedAt, addedOrRemoved, _, err := globalIAMSys.PolicyDBUpdateLDAP(ctx, isAttach, par)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	respBody := madmin.PolicyAssociationResp{
    		UpdatedAt: updatedAt,
    	}
    	if isAttach {
    		respBody.PoliciesAttached = addedOrRemoved
    	} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  7. tests/create_test.go

    	curTime := now.MustParse("2016-01-01")
    	user.CreatedAt = curTime
    	user.UpdatedAt = curTime
    	DB.Save(&user)
    
    	AssertEqual(t, user.CreatedAt, curTime)
    	AssertEqual(t, user.UpdatedAt, curTime)
    
    	var newUser User
    	DB.First(&newUser, user.ID)
    
    	AssertEqual(t, newUser.CreatedAt, curTime)
    	AssertEqual(t, newUser.UpdatedAt, curTime)
    }
    
    func TestCreateWithNowFuncOverride(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  8. tests/serializer_test.go

    	createdAt := time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC)
    	updatedAt := createdAt.Unix()
    
    	data := SerializerStruct{
    		Name:            []byte("jinzhu"),
    		Roles:           []string{"r1", "r2"},
    		Contracts:       map[string]interface{}{"name": "jinzhu", "age": 10},
    		EncryptedString: EncryptedString("pass"),
    		CreatedTime:     createdAt.Unix(),
    		UpdatedTime:     &updatedAt,
    		JobInfo: Job{
    			Title:    "programmer",
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 21 14:09:38 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  9. 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.dict(exclude_unset=True)
        updated_item = stored_item_model.copy(update=update_data)
        items[item_id] = jsonable_encoder(updated_item)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 1010 bytes
    - Viewed (0)
  10. docs_src/body_updates/tutorial002.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.dict(exclude_unset=True)
        updated_item = stored_item_model.copy(update=update_data)
        items[item_id] = jsonable_encoder(updated_item)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 1K bytes
    - Viewed (0)
Back to top