Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for colonna (0.19 sec)

  1. docs/en/docs/python-types.md

    {!../../../docs_src/python_types/tutorial002.py!}
    ```
    
    That is not the same as declaring default values like would be with:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    It's a different thing.
    
    We are using colons (`:`), not equals (`=`).
    
    And adding type hints normally doesn't change what happens from what would happen without them.
    
    But now, imagine you are again in the middle of creating that function, but with type hints.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    		}
    		if len(items) > 0 {
    			operands = append(operands, items)
    			if colon >= 0 && len(operands) == colon+2 {
    				// AX:DX becomes DX, AX.
    				operands[colon], operands[colon+1] = operands[colon+1], operands[colon]
    				colon = -1
    			}
    		} else if len(operands) > 0 || tok == ',' || colon >= 0 {
    			// Had a separator with nothing after.
    			p.errorf("missing operand")
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/certificates/v1alpha1/generated.proto

      // verb=attest.
      //
      // If signerName is not empty, then the ClusterTrustBundle object must be
      // named with the signer name as a prefix (translating slashes to colons).
      // For example, for the signer name `example.com/foo`, valid
      // ClusterTrustBundle object names include `example.com:foo:abc` and
      // `example.com:foo:v1`.
      //
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. docs/en/docs/deployment/server-workers.md

        * You can imagine that `main:app` is equivalent to a Python `import` statement like:
    
            ```Python
            from main import app
            ```
    
        * So, the colon in `main:app` would be equivalent to the Python `import` part in `from main import app`.
    
    * `--workers`: The number of worker processes to use, each will run a Uvicorn worker, in this case, 4 workers.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/podcgroupns.go

    	for scanner.Scan() {
    		token := scanner.Text()
    		substrings := strings.SplitN(token, ":", 3)
    		if len(substrings) < 3 {
    			return nil, fmt.Errorf("cgroup entry contains %v colons, but expected at least 2 colons: %q", len(substrings), token)
    		}
    		cgroups = append(cgroups, Cgroup{
    			HierarchyID:    substrings[0],
    			ControllerList: substrings[1],
    			GroupPath:      substrings[2],
    		})
    	}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  6. fastapi/security/oauth2.py

            return data
        ```
    
        Note that for OAuth2 the scope `items:read` is a single scope in an opaque string.
        You could have custom internal logic to separate it by colon caracters (`:`) or
        similar, and get the two parts `items` and `read`. Many applications do that to
        group and organize permissions, you could do it as well in your application, just
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  7. docs/pt/docs/python-types.md

    {!../../../docs_src/python_types/tutorial006.py!}
    ```
    
    Declare a variável com a mesma sintaxe de dois pontos (`:`).
    
    Como o tipo, coloque a `List`.
    
    Como a lista é um tipo que contém alguns tipos internos, você os coloca entre colchetes:
    
    ```Python hl_lines="4"
    {!../../../docs_src/python_types/tutorial006.py!}
    ```
    
    !!! tip "Dica"
        Esses tipos internos entre colchetes são chamados de "parâmetros de tipo".
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/first-steps.md

    * a rota `/`
    * usando o  <abbr title="o método HTTP GET">operador <code>get</code></abbr>
    
    !!! info "`@decorador`"
        Essa sintaxe `@alguma_coisa` em Python é chamada de "decorador".
    
        Você o coloca em cima de uma função. Como um chapéu decorativo (acho que é daí que vem o termo).
    
        Um "decorador" pega a função abaixo e faz algo com ela.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  9. internal/rest/client.go

    	urlStr := uu.String()
    	u, err := url.Parse(urlStr)
    	if err != nil {
    		// Mark offline, with no reconnection attempts.
    		connected = int32(offline)
    		err = &url.Error{URL: urlStr, Err: err}
    	}
    	// The host's colon:port should be normalized. See Issue 14836.
    	u.Host = removeEmptyPort(u.Host)
    
    	// Transport is exactly same as Go default in https://golang.org/pkg/net/http/#RoundTripper
    	// except custom DialContext and TLSClientConfig.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14K bytes
    - Viewed (0)
  10. docs/pt/docs/alternatives.md

    !!! check "**FastAPI** usa isso para"
        Controlar toda a validação de dados, serialização de dados e modelo de documentação automática (baseado no JSON Schema).
    
        **FastAPI** então pega dados do JSON Schema e coloca eles no OpenAPI, à parte de todas as outras coisas que ele faz.
    
    ### <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a>
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.5K bytes
    - Viewed (0)
Back to top