Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 31 for unpacking (0.06 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/ru/docs/tutorial/extra-models.md

    мы можем получить `dict` с такими данными:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    #### Распаковка `dict` { #unpacking-a-dict }
    
    Если мы возьмём `dict` наподобие `user_dict` и передадим его в функцию (или класс), используя `**user_dict`, Python распакует его. Он передаст ключи и значения `user_dict` напрямую как аргументы типа ключ-значение.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  5. ci/official/installer_wheel.sh

      # "Tag: <new whl tag>"
      sed -i "s/^Tag:.*/Tag: ${whl_tag}/g" "${pkg_name}"/"${pkg_name}".dist-info/WHEEL
    
      # Repack the wheel. When repacking, the wheel would be automatically tagged
      # with the new tag we provided in ${whl_tag}. Repacking also regnerates the
      # RECORD file which contains hashes of all included files.
      python3 -m wheel pack "${pkg_name}"
    done
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Tue Mar 04 22:39:12 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/extra-models.md

    teríamos um `dict` Python com:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    #### Desembrulhando um `dict` { #unpacking-a-dict }
    
    Se tomarmos um `dict` como `user_dict` e passarmos para uma função (ou classe) com `**user_dict`, o Python irá "desembrulhá-lo". Ele passará as chaves e valores do `user_dict` diretamente como argumentos chave-valor.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  7. docs/ko/docs/tutorial/extra-models.md

    print(user_dict)
    ```
    
    Python의 `dict`가 다음과 같이 출력됩니다:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    #### `dict` 언패킹(Unpacking)
    
    `user_dict`와 같은 `dict`를 함수(또는 클래스)에 `**user_dict`로 전달하면, Python은 이를 "언팩(unpack)"합니다. 이 과정에서 `user_dict`의 키와 값을 각각 키-값 인자로 직접 전달합니다.
    
    따라서, 위에서 생성한 `user_dict`를 사용하여 다음과 같이 작성하면:
    
    ```Python
    UserInDB(**user_dict)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri May 30 13:38:33 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  8. 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)
  9. internal/http/headers.go

    	AmzObjectLockBypassGovernance = "X-Amz-Bypass-Governance-Retention"
    	AmzBucketReplicationStatus    = "X-Amz-Replication-Status"
    
    	// AmzSnowballExtract will trigger unpacking of an archive content
    	AmzSnowballExtract = "X-Amz-Meta-Snowball-Auto-Extract"
    	// MinIOSnowballIgnoreDirs will skip creating empty directory objects.
    	MinIOSnowballIgnoreDirs = "X-Amz-Meta-Minio-Snowball-Ignore-Dirs"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 07 15:37:12 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/hash/HashFunction.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A hash function is a collision-averse pure function that maps an arbitrary block of data to a
     * number called a <i>hash code</i>.
     *
     * <h3>Definition</h3>
     *
     * <p>Unpacking this definition:
     *
     * <ul>
     *   <li><b>block of data:</b> the input for a hash function is always, in concept, an ordered byte
     *       array. This hashing API accepts an arbitrary sequence of byte and multibyte values (via
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top