- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for unpacking (0.14 sec)
-
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.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.2K bytes - Viewed (0) -
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"} ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java
import jcifs.Decodable; import jcifs.Encodable; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * Represents a byte range for SMB1 locking and unlocking operations. * * This class encapsulates the information about a byte range that needs * to be locked or unlocked, including the process ID, offset, and length. * * @author mbechler */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0) -
cmd/local-locker.go
"strconv" "sync" "sync/atomic" "time" "github.com/minio/minio/internal/dsync" ) // Reject new lock requests immediately when this many are queued // for the local lock mutex. // We do not block unlocking or maintenance, but they add to the count. // The limit is set to allow for bursty behavior, // but prevent requests to overload the server completely. // Rejected clients are expected to retry. const lockMutexWaitLimit = 1000
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12K bytes - Viewed (0)