Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 172 for confira (0.18 sec)

  1. docs/pt/docs/features.md

    Se você precisa refrescar a memória rapidamente sobre como usar tipos do Python (mesmo que você não use o FastAPI), confira esse rápido tutorial: [Tipos do Python](python-types.md){.internal-link target=_blank}.
    
    Você escreve Python padrão com tipos:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/security/simple-oauth2.md

    /// tip | Dica
    
    Prefira usar a versão `Annotated`, se possível.
    
    ///
    
    ```Python hl_lines="3  77-79"
    {!> ../../docs_src/security/tutorial003.py!}
    ```
    
    ////
    
    ### Confira a password (senha)
    
    Neste ponto temos os dados do usuário do nosso banco de dados, mas não verificamos a senha.
    
    Vamos colocar esses dados primeiro no modelo `UserInDB` do Pydantic.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:17:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. internal/event/config_test.go

    </NotificationConfiguration>
    `)
    	config3 := &Config{}
    	if err := xml.Unmarshal(data, config3); err != nil {
    		panic(err)
    	}
    
    	testCases := []struct {
    		config         *Config
    		region         string
    		expectedResult []ARN
    	}{
    		{config1, "eu-west-1", []ARN{{TargetID{"1", "webhook"}, "eu-west-1"}}},
    		{config1, "", []ARN{{TargetID{"1", "webhook"}, ""}}},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 05 10:16:33 UTC 2023
    - 29K bytes
    - Viewed (0)
  4. internal/config/config.go

    	APISubSys: {apiReplicationWorkers, apiReplicationFailedWorkers},
    	// Add future sub-system deleted keys
    }
    
    // Merge - merges a new config with all the
    // missing values for default configs,
    // returns a config.
    func (c Config) Merge() Config {
    	cp := New()
    	for subSys, tgtKV := range c {
    		for tgt := range tgtKV {
    			ckvs := c[subSys][tgt]
    			for _, kv := range cp[subSys][Default] {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  5. internal/kms/config.go

    		if opts != nil && opts.CADir != "" {
    			rootCAs, err = certs.GetRootCAs(opts.CADir)
    			if err != nil {
    				return nil, err
    			}
    		}
    
    		client, err := kms.NewClient(&kms.Config{
    			Endpoints: endpoints,
    			APIKey:    key,
    			TLS: &tls.Config{
    				MinVersion:         tls.VersionTLS12,
    				ClientSessionCache: tls.NewLRUClientSessionCache(tlsClientSessionCacheSize),
    				RootCAs:            rootCAs,
    			},
    		})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 11:46:39 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. internal/bucket/replication/replication_test.go

    				t.Fatalf("%d: Expected %v during parsing but got %v", i+1, tc.expectedValidationErr, err)
    			}
    		})
    	}
    }
    
    func TestReplicate(t *testing.T) {
    	cfgs := []Config{
    		{ // Config0 - Replication config has no filters, all replication enabled
    			Rules: []Rule{
    				{
    					Status:                  Enabled,
    					Priority:                3,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  7. cmd/bucket-replication_test.go

    		expectedSync: false,
    	},
    	{ // 3. existing object replication config enabled, versioning suspended
    		name:         "existing object replication config enabled, versioning suspended",
    		info:         ObjectInfo{Size: 100, VersionID: nullVersionID},
    		rcfg:         replicationConfig{Config: &configs[0]},
    		expectedSync: false,
    	},
    	{ // 4. existing object replication enabled, versioning enabled; no reset in progress
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 16 09:28:06 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  8. cmd/admin-handlers-idp-config.go

    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"strings"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/config"
    	cfgldap "github.com/minio/minio/internal/config/identity/ldap"
    	"github.com/minio/minio/internal/config/identity/openid"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/ldap"
    	"github.com/minio/pkg/v3/policy"
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. internal/config/identity/plugin/config.go

    )
    
    var (
    	// DefaultKVS - default config for AuthN plugin config
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   URL,
    			Value: "",
    		},
    		config.KV{
    			Key:   AuthToken,
    			Value: "",
    		},
    		config.KV{
    			Key:   RolePolicy,
    			Value: "",
    		},
    		config.KV{
    			Key:   RoleID,
    			Value: "",
    		},
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. internal/logger/config.go

    	}
    
    	DefaultAuditWebhookKVS = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOff,
    		},
    		config.KV{
    			Key:   Endpoint,
    			Value: "",
    		},
    		config.KV{
    			Key:   AuthToken,
    			Value: "",
    		},
    		config.KV{
    			Key:   ClientCert,
    			Value: "",
    		},
    		config.KV{
    			Key:   ClientKey,
    			Value: "",
    		},
    		config.KV{
    			Key:   BatchSize,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 20 16:02:50 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top