Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1181 - 1190 of 1,212 for Strict (0.07 sec)

  1. docs/en/docs/tutorial/sql-databases.md

    And in the code, we get a `dict` with all the data sent by the client, **only the data sent by the client**, excluding any values that would be there just for being the default values. To do it we use `exclude_unset=True`. This is the main trick. 🪄
    
    Then we use `hero_db.sqlmodel_update(hero_data)` to update the `hero_db` with the data from `hero_data`.
    
    {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[83:93] hl[83:84,88:89] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. cmd/peer-rest-client.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/rest"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    // client to talk to peer Nodes.
    type peerRESTClient struct {
    	host       *xnet.Host
    	restClient *rest.Client
    	gridHost   string
    	// Function that returns the grid connection for this peer when initialized.
    	// Will return nil if the grid connection is not initialized yet.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. cmd/iam-object-store.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/sync/errgroup"
    	"github.com/puzpuzpuz/xsync/v3"
    )
    
    // IAMObjectStore implements IAMStorageAPI
    type IAMObjectStore struct {
    	// Protect access to storage within the current server.
    	sync.RWMutex
    
    	*iamCache
    
    	usersSysType UsersSysType
    
    	objAPI ObjectLayer
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. cmd/auth-handler.go

    	if err != nil {
    		return toAPIErrorCode(ctx, err)
    	}
    	r.Body = reader
    	return ErrNone
    }
    
    // List of all support S3 auth types.
    var supportedS3AuthTypes = map[authType]struct{}{
    	authTypeAnonymous:                {},
    	authTypePresigned:                {},
    	authTypePresignedV2:              {},
    	authTypeSigned:                   {},
    	authTypeSignedV2:                 {},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2_gen.go

    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "ObjectV2")
    					return
    				}
    				z.ObjectV2 = nil
    			} else {
    				if z.ObjectV2 == nil {
    					z.ObjectV2 = new(struct {
    						DataDir [16]byte `msg:"DDir"`
    					})
    				}
    				var zb0002 uint32
    				zb0002, err = dc.ReadMapHeader()
    				if err != nil {
    					err = msgp.WrapError(err, "ObjectV2")
    					return
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  6. cmd/admin-bucket-handlers.go

    					return
    				}
    				rawDataFn(bytes.NewReader(configData), cfgPath, len(configData))
    			}
    		}
    	}
    }
    
    type importMetaReport struct {
    	madmin.BucketMetaImportErrs
    }
    
    func (i *importMetaReport) SetStatus(bucket, fname string, err error) {
    	st := i.Buckets[bucket]
    	var errMsg string
    	if err != nil {
    		errMsg = err.Error()
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    	"github.com/minio/minio/internal/hash"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // APIError structure
    type APIError struct {
    	Code           string
    	Description    string
    	HTTPStatusCode int
    	ObjectSize     string
    	RangeRequested string
    }
    
    // APIErrorResponse - error response format
    type APIErrorResponse struct {
    	XMLName          xml.Name `xml:"Error" json:"-"`
    	Code             string
    	Message          string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    }
    
    // TestServer encapsulates an instantiation of a MinIO instance with a temporary backend.
    // Example usage:
    //
    //	s := StartTestServer(t,"Erasure")
    //	defer s.Stop()
    type TestServer struct {
    	Root         string
    	Disks        EndpointServerPools
    	AccessKey    string
    	SecretKey    string
    	Server       *httptest.Server
    	Obj          ObjectLayer
    	cancel       context.CancelFunc
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/apps/v1beta2/generated.proto

      // +optional
      // +patchMergeKey=type
      // +patchStrategy=merge
      repeated DaemonSetCondition conditions = 10;
    }
    
    // DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.
    message DaemonSetUpdateStrategy {
      // Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
      // +optional
      optional string type = 1;
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/docker.md

    ```Dockerfile
    CMD ["fastapi", "run", "app/main.py", "--proxy-headers", "--port", "80"]
    ```
    
    #### Docker Cache
    
    There's an important trick in this `Dockerfile`, we first copy the **file with the dependencies alone**, not the rest of the code. Let me tell you why is that.
    
    ```Dockerfile
    COPY ./requirements.txt /code/requirements.txt
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Sep 18 16:09:57 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top