Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for unpacking (0.07 seconds)

  1. docs/en/docs/tutorial/extra-models.md

    print(user_dict)
    ```
    
    we would get a Python `dict` with:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    #### Unpacking a `dict` { #unpacking-a-dict }
    
    If we take a `dict` like `user_dict` and pass it to a function (or class) with `**user_dict`, Python will "unpack" it. It will pass the keys and values of the `user_dict` directly as key-value arguments.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/extra-models.md

    obtendremos un `dict` de Python con:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    #### Desempaquetando un `dict` { #unpacking-a-dict }
    
    Si tomamos un `dict` como `user_dict` y lo pasamos a una función (o clase) con `**user_dict`, Python lo "desempaquetará". Pasará las claves y valores del `user_dict` directamente como argumentos clave-valor.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  3. docs/de/docs/tutorial/extra-models.md

    würden wir ein Python-`dict` erhalten mit:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    #### Ein `dict` entpacken { #unpacking-a-dict }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 24 10:28:19 GMT 2025
    - 8K bytes
    - Click Count (0)
  4. docs/en/docs/advanced/additional-responses.md

    You might want to have some predefined responses that apply to many *path operations*, but you want to combine them with custom responses needed by each *path operation*.
    
    For those cases, you can use the Python technique of "unpacking" a `dict` with `**dict_to_unpack`:
    
    ```Python
    old_dict = {
        "old key": "old value",
        "second old key": "second old value",
    }
    new_dict = {**old_dict, "new key": "new value"}
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  5. .teamcity/performance-tests-ci.json

          "coverage" : {
            "per_commit" : [ "linux" ]
          }
        } ]
      }, {
        "testId" : "org.gradle.performance.regression.corefeature.ArchiveTreePerformanceTest.packing tar",
        "groups" : [ {
          "testProject" : "archivePerformanceProject",
          "coverage" : {
            "per_commit" : [ "linux" ]
          }
        } ]
      }, {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 25 10:54:09 GMT 2025
    - 32.8K bytes
    - Click Count (0)
  6. .teamcity/performance-test-durations.json

      "durations" : [ {
        "testProject" : "archivePerformanceProject",
        "linux" : 170
      } ]
    }, {
      "scenario" : "org.gradle.performance.regression.corefeature.ArchiveTreePerformanceTest.packing tar",
      "durations" : [ {
        "testProject" : "archivePerformanceProject",
        "linux" : 164
      } ]
    }, {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 25 10:54:09 GMT 2025
    - 25K bytes
    - Click Count (0)
  7. doc/go_spec.html

    the function completes.
    (See also the section on <a href="#Handling_panics">handling panics</a>.)
    </p>
    
    <pre>
    lock(l)
    defer unlock(l)  // unlocking happens before surrounding function returns
    
    // prints 3 2 1 0 before surrounding function returns
    for i := 0; i &lt;= 3; i++ {
    	defer fmt.Print(i)
    }
    
    // f returns 42
    func f() (result int) {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
Back to Top