Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 788 for makeAs (0.1 sec)

  1. fastapi/param_functions.py

                dependency is called again (if declared more than once) in the same request.
                """
            ),
        ] = True,
    ) -> Any:
        """
        Declare a FastAPI dependency.
    
        It takes a single "dependable" callable (like a function).
    
        Don't call it directly, FastAPI will call it for you.
    
        Read more about it in the
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  2. finisher_api.go

    			}
    			defer func() {
    				// Make sure to rollback when panic, Block error or Commit error
    				if panicked || err != nil {
    					db.RollbackTo(fmt.Sprintf("sp%d", spID))
    				}
    			}()
    		}
    		err = fc(db.Session(&Session{NewDB: db.clone == 1}))
    	} else {
    		tx := db.Begin(opts...)
    		if tx.Error != nil {
    			return tx.Error
    		}
    
    		defer func() {
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  3. src/archive/tar/strconv_test.go

    		{math.MaxInt64, "\x80\x7f\xff\xff\xff\xff\xff\xff\xff", true},
    		{math.MinInt64, "\xff\x80\x00\x00\x00\x00\x00\x00\x00", true},
    	}
    
    	for _, v := range vectors {
    		var f formatter
    		got := make([]byte, len(v.want))
    		f.formatNumeric(got, v.in)
    		ok := (f.err == nil)
    		if ok != v.ok {
    			if v.ok {
    				t.Errorf("formatNumeric(%d): got formatting failure, want success", v.in)
    			} else {
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
  4. cni/pkg/install/install.go

    	// we would get infinite looping of events
    	//
    	// Additionally, fsnotify will lose existing watches on atomic copies (due to overwrite/rename),
    	// so we have to re-watch after re-copy to make sure we always have fresh watches.
    	watcher, err := util.CreateFileWatcher(targets...)
    	if err != nil {
    		return err
    	}
    	defer func() {
    		setNotReady(in.isReady)
    		watcher.Close()
    	}()
    
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

    Setting options in `include_router` still makes sense in some cases, for example, to override or increase configurations from a third party router included in an app. But in a router that is part of a bigger application, it would probably make more sense to add those settings when creating the `APIRouter`.
    
    **In `FastAPI`**
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:51:17 UTC 2024
    - 449.4K bytes
    - Viewed (0)
  6. docs/debugging/inspect/export.go

    			}
    
    			nVers, v, e := decodeXLHeaders(v)
    			if e != nil {
    				return nil, e
    			}
    			type version struct {
    				Idx      int
    				Header   json.RawMessage
    				Metadata json.RawMessage
    			}
    			versions := make([]version, nVers)
    			e = decodeVersions(v, nVers, func(idx int, hdr, meta []byte) error {
    				var header xlMetaV2VersionHeaderV2
    				if _, e := header.UnmarshalMsg(hdr); e != nil {
    					return e
    				}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Nov 08 15:58:02 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  7. internal/event/target/mysql.go

    	}
    
    	target := &MySQLTarget{
    		id:         event.TargetID{ID: id, Name: "mysql"},
    		args:       args,
    		firstPing:  false,
    		store:      queueStore,
    		loggerOnce: loggerOnce,
    		quitCh:     make(chan struct{}),
    	}
    
    	if target.store != nil {
    		store.StreamItems(target.store, target, target.quitCh, target.loggerOnce)
    	}
    
    	return target, nil
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. tests/preload_test.go

    			Manager: &User{
    				Name: "Jinzhu Manager",
    				Tools: []Tools{
    					{Name: "Jinzhu Tool 1"},
    					{Name: "Jinzhu Tool 2"},
    				},
    			},
    		},
    	}
    
    	DB.Create(&users)
    
    	query := make([]string, 0)
    	sess := DB.Session(&gorm.Session{Logger: Tracer{
    		Logger: DB.Config.Logger,
    		Test: func(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) {
    			sql, _ := fc()
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  9. helm-releases/minio-4.1.0.tgz

    template "minio.name" . }} {{- end }} minio/templates/post-install-create-bucket-job.yaml {{- if .Values.buckets }} apiVersion: batch/v1 kind: Job metadata: name: {{ template "minio.fullname" . }}-make-bucket-job namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }}-make-bucket-job chart: {{ template "minio.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} annotations: "helm.sh/hook": post-install,post-upgrade "helm.sh/hook-delete-policy": ...
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Oct 24 20:37:05 UTC 2022
    - 20K bytes
    - Viewed (0)
  10. gorm.go

    			// clone with new statement
    			tx.Statement = &Statement{
    				DB:        tx,
    				ConnPool:  db.Statement.ConnPool,
    				Context:   db.Statement.Context,
    				Clauses:   map[string]clause.Clause{},
    				Vars:      make([]interface{}, 0, 8),
    				SkipHooks: db.Statement.SkipHooks,
    			}
    			if db.Config.PropagateUnscoped {
    				tx.Statement.Unscoped = db.Statement.Unscoped
    			}
    		} else {
    			// with clone statement
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top