Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 1,606 for configs (0.05 sec)

  1. tests/transaction_test.go

    		t.Fatalf("Should find saved record")
    	}
    }
    
    func TestNestedTransactionWithBlock(t *testing.T) {
    	var (
    		user  = *GetUser("transaction-nested", Config{})
    		user1 = *GetUser("transaction-nested-1", Config{})
    		user2 = *GetUser("transaction-nested-2", Config{})
    	)
    
    	if err := DB.Transaction(func(tx *gorm.DB) error {
    		tx.Create(&user)
    
    		if err := tx.First(&User{}, "name = ?", user.Name).Error; err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. docs_src/settings/app03_an/main.py

    from functools import lru_cache
    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    
    from . import config
    
    app = FastAPI()
    
    
    @lru_cache
    def get_settings():
        return config.Settings()
    
    
    @app.get("/info")
    async def info(settings: Annotated[config.Settings, Depends(get_settings)]):
        return {
            "app_name": settings.app_name,
            "admin_email": settings.admin_email,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 451 bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsScheduledJobCB.java

     */
    package org.codelibs.fess.es.config.cbean.bs;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
    import org.codelibs.fess.es.config.bsentity.dbmeta.ScheduledJobDbm;
    import org.codelibs.fess.es.config.cbean.ScheduledJobCB;
    import org.codelibs.fess.es.config.cbean.ca.ScheduledJobCA;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsWebAuthenticationCB.java

     */
    package org.codelibs.fess.es.config.cbean.bs;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.es.config.allcommon.EsAbstractConditionBean;
    import org.codelibs.fess.es.config.bsentity.dbmeta.WebAuthenticationDbm;
    import org.codelibs.fess.es.config.cbean.WebAuthenticationCB;
    import org.codelibs.fess.es.config.cbean.ca.WebAuthenticationCA;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

    import org.codelibs.fess.es.config.exbhv.BoostDocumentRuleBhv;
    import org.codelibs.fess.es.config.exentity.BoostDocumentRule;
    import org.codelibs.fess.es.config.exentity.CrawlingConfig.ConfigName;
    import org.codelibs.fess.es.config.exentity.CrawlingConfig.Param.Config;
    import org.codelibs.fess.es.config.exentity.FileConfig;
    import org.codelibs.fess.es.config.exentity.WebConfig;
    import org.codelibs.fess.indexer.IndexUpdater;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  6. cmd/admin-router.go

    		}
    
    		// Config import/export bulk operations
    		if enableConfigOps {
    			// Get config
    			adminRouter.Methods(http.MethodGet).Path(adminVersion + "/config").HandlerFunc(adminMiddleware(adminAPI.GetConfigHandler))
    			// Set config
    			adminRouter.Methods(http.MethodPut).Path(adminVersion + "/config").HandlerFunc(adminMiddleware(adminAPI.SetConfigHandler))
    		}
    
    		// -- IAM APIs --
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/ScheduledJobDbm.java

        public String getEntityTypeName() {
            return "org.codelibs.fess.es.config.exentity.ScheduledJob";
        }
    
        @Override
        public String getConditionBeanTypeName() {
            return "org.codelibs.fess.es.config.cbean.ScheduledJobCB";
        }
    
        @Override
        public String getBehaviorTypeName() {
            return "org.codelibs.fess.es.config.exbhv.ScheduledJobBhv";
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. cmd/server-main.go

    	v, _, _, err := env.LookupEnv(config.EnvArgs)
    	if err != nil {
    		logger.FatalIf(err, "Unable to validate passed arguments in %s:%s",
    			config.EnvArgs, os.Getenv(config.EnvArgs))
    	}
    	if v == "" {
    		v, _, _, err = env.LookupEnv(config.EnvVolumes)
    		if err != nil {
    			logger.FatalIf(err, "Unable to validate passed arguments in %s:%s",
    				config.EnvVolumes, os.Getenv(config.EnvVolumes))
    		}
    	}
    	if v == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  9. src/main/java/org/codelibs/fess/es/config/bsentity/BsAccessToken.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.es.config.bsentity;
    
    import java.time.LocalDateTime;
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.es.config.allcommon.EsAbstractEntity;
    import org.codelibs.fess.es.config.bsentity.dbmeta.AccessTokenDbm;
    
    /**
     * ${table.comment}
     * @author ESFlute (using FreeGen)
     */
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. tests/associations_has_many_test.go

    	AssertAssociationCount(t, user2, "Team", 0, "after clear")
    }
    
    func TestHasManyAssociationForSlice(t *testing.T) {
    	users := []User{
    		*GetUser("slice-hasmany-1", Config{Pets: 2}),
    		*GetUser("slice-hasmany-2", Config{Pets: 0}),
    		*GetUser("slice-hasmany-3", Config{Pets: 4}),
    	}
    
    	DB.Create(&users)
    
    	// Count
    	AssertAssociationCount(t, users, "Pets", 6, "")
    
    	// Find
    	var pets []Pet
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top