Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 144 for 1150 (0.34 sec)

  1. docs/pt/docs/tutorial/header-param-models.md

    Isso vai lhe permitir **reusar o modelo** em **múltiplos lugares** e também declarar validações e metadadados para todos os parâmetros de uma vez. 😎
    
    /// note | Nota
    
    Isso é possível desde a versão `0.115.0` do FastAPI. 🤓
    
    ///
    
    ## Parâmetros do Cabeçalho com um Modelo Pydantic
    
    Declare os **parâmetros de cabeçalho** que você precisa em um **modelo do Pydantic**, e então declare o parâmetro como `Header`:
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 20:41:28 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/cookie-param-models.md

    Isso lhe permitiria **reutilizar o modelo** em **diversos lugares** e também declarar validações e metadata para todos os parâmetros de uma vez. 😎
    
    /// note | Nota
    
    Isso é suportado desde a versão `0.115.0` do FastAPI. 🤓
    
    ///
    
    /// tip | Dica
    
    Essa mesma técnica se aplica para `Query`, `Cookie`, e `Header`. 😎
    
    ///
    
    ## Cookies com Modelos Pydantic
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Mon Oct 07 20:18:07 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. clause/where_test.go

    						clause.And(clause.Expr{SQL: "`score` <= ?", Vars: []interface{}{100}, WithoutParentheses: false})),
    				},
    			}},
    			"SELECT * FROM `users` WHERE `users`.`id` <> ? AND `score` <= ?",
    			[]interface{}{"1", 100},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Where{
    				Exprs: []clause.Expression{clause.Not(clause.Eq{Column: clause.PrimaryColumn, Value: "1"},
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Thu Apr 25 12:22:53 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. misc/cgo/gmp/gmp.go

    }
    
    // Bytes returns z's representation as a big-endian byte array.
    func (z *Int) Bytes() []byte {
    	b := make([]byte, (z.Len()+7)/8)
    	n := C.size_t(len(b))
    	C.mpz_export(unsafe.Pointer(&b[0]), &n, 1, 1, 1, 0, &z.i[0])
    	return b[0:n]
    }
    
    // Len returns the length of z in bits.  0 is considered to have length 1.
    func (z *Int) Len() int {
    	z.doinit()
    	return int(C.mpz_sizeinbase(&z.i[0], 2))
    }
    
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  5. requirements_lock_3_10.txt

        --hash=sha256:f26264b282b9da0952a024ae34710c2aff7d27480ee91a2e82b7b7073c24722f
        # via
        #   -r ci/official/requirements_updater/requirements.in
        #   jax
    six==1.16.0 \
        --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \
        --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254
        # via
        #   astunparse
        #   google-pasta
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 26 00:18:03 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  6. requirements_lock_3_9.txt

        --hash=sha256:f26264b282b9da0952a024ae34710c2aff7d27480ee91a2e82b7b7073c24722f
        # via
        #   -r ci/official/requirements_updater/requirements.in
        #   jax
    six==1.16.0 \
        --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \
        --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254
        # via
        #   astunparse
        #   google-pasta
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Sat Oct 26 00:18:03 UTC 2024
    - 48.3K bytes
    - Viewed (0)
  7. ci/official/requirements_updater/numpy1_requirements/requirements_lock_3_11.txt

        --hash=sha256:e1f97cd89c0fe1a0685f8f89d85fa305deb3067d0668151571ba50913e445820
        # via
        #   -r ci/official/requirements_updater/requirements.in
        #   jax
    six==1.16.0 \
        --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \
        --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254
        # via
        #   astunparse
        #   google-pasta
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Fri Oct 11 22:42:53 UTC 2024
    - 47.2K bytes
    - Viewed (0)
  8. internal/config/scanner/scanner.go

    	}
    
    	switch speed := env.Get(EnvSpeed, kvs.GetWithDefault(Speed, DefaultKVS)); speed {
    	case "fastest":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 0, 0, time.Second
    	case "fast":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 1, 100*time.Millisecond, time.Minute
    	case "default":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 2, time.Second, time.Minute
    	case "slow":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 10, 15*time.Second, time.Minute
    	case "slowest":
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/header-param-models.md

    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    ## Header Parameters with a Pydantic Model
    
    Declare the **header parameters** that you need in a **Pydantic model**, and then declare the parameter as `Header`:
    
    //// tab | Python 3.10+
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. cmd/batch-job-common-types_test.go

    			objSize: 2 << 10,
    			sizeFilter: BatchJobSizeFilter{
    				UpperBound: 10 << 20,
    				LowerBound: 1 << 20,
    			},
    			want: false,
    		},
    		{
    			// 11MiB > 10 MiB -> out of range from right
    			objSize: 11 << 20,
    			sizeFilter: BatchJobSizeFilter{
    				UpperBound: 10 << 20,
    				LowerBound: 1 << 20,
    			},
    			want: false,
    		},
    		{
    			//  2MiB < 10MiB -> in range
    			objSize: 2 << 20,
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jan 08 23:22:28 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top