- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 62 for keyFor (0.17 sec)
-
src/crypto/tls/handshake_test.go
var ( update = flag.Bool("update", false, "update golden files on failure") fast = flag.Bool("fast", false, "impose a quick, possibly flaky timeout on recorded tests") keyFile = flag.String("keylog", "", "destination file for KeyLogWriter") bogoMode = flag.Bool("bogo-mode", false, "Enabled bogo shim mode, ignore everything else") bogoFilter = flag.String("bogo-filter", "", "BoGo test filter")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 24.5K bytes - Viewed (0) -
docs/en/docs/tutorial/background-tasks.md
``` `.add_task()` receives as arguments: * A task function to be run in the background (`write_notification`). * Any sequence of arguments that should be passed to the task function in order (`email`). * Any keyword arguments that should be passed to the task function (`message="some notification"`). ## Dependency Injection
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 23:43:13 UTC 2024 - 5.6K bytes - Viewed (0) -
src/go/build/read.go
for c != '\n' && r.err == nil && !r.eof { c = r.readByteNoBuf() } startLine = true } } } return false } // readKeyword reads the given keyword from the input. // If the keyword is not present, readKeyword records a syntax error. func (r *importReader) readKeyword(kw string) { r.peekByte(true) for i := 0; i < len(kw); i++ { if r.nextByte(false) != kw[i] {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 14.1K bytes - Viewed (0) -
docs/en/docs/how-to/nosql-databases-couchbase.md
It will take the `dict` at `result.value`, and take each of its keys and values and pass them as key-values to `UserInDB` as keyword arguments. So, if the `dict` contains: ```Python { "username": "johndoe", "hashed_password": "some_hash", } ``` It will be passed to `UserInDB` as: ```Python
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 23:43:13 UTC 2024 - 6K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-models.md
So, we get a Pydantic model from the data in another Pydantic model. #### Unwrapping a `dict` and extra keywords And then adding the extra keyword argument `hashed_password=hashed_password`, like in: ```Python UserInDB(**user_in.dict(), hashed_password=hashed_password) ``` ...ends up being like: ```Python UserInDB(
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 7.7K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params-numeric-validations.md
...Python has a little special syntax for that. Pass `*`, as the first parameter of the function. Python won't do anything with that `*`, but it will know that all the following parameters should be called as keyword arguments (key-value pairs), also known as <abbr title="From: K-ey W-ord Arg-uments"><code>kwargs</code></abbr>. Even if they don't have a default value. ```Python hl_lines="7"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Jun 01 21:05:52 UTC 2024 - 9K bytes - Viewed (0) -
docs/en/docs/tutorial/sql-databases.md
!!! tip Instead of passing each of the keyword arguments to `Item` and reading each one of them from the Pydantic *model*, we are generating a `dict` with the Pydantic *model*'s data with: `item.dict()` and then we are passing the `dict`'s key-value pairs as the keyword arguments to the SQLAlchemy `Item`, with: `Item(**item.dict())`
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 29.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py
expected_input_keys: Collection[str], ) -> Callable[[rd.RepresentativeSample], rd.RepresentativeSample]: """Creates a validator function for a representative sample. Args: expected_input_keys: Input keys (keyword argument names) that the function the sample will be used for is expecting to receive. Returns: A callable that validates a `RepresentativeSample`. """ def validator(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 05:32:11 UTC 2024 - 27.4K bytes - Viewed (0) -
src/go/types/stmt.go
} return token.ILLEGAL } func (check *Checker) suspendedCall(keyword string, call *ast.CallExpr) { var x operand var msg string var code Code switch check.rawExpr(nil, &x, call, nil, false) { case conversion: msg = "requires function call, not conversion" code = InvalidDefer if keyword == "go" { code = InvalidGo } case expression: msg = "discards result of"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 30.6K bytes - Viewed (0) -
pkg/controller/deployment/deployment_controller.go
logger := klog.FromContext(ctx) if err == nil || errors.HasStatusCause(err, v1.NamespaceTerminatingCause) { dc.queue.Forget(key) return } ns, name, keyErr := cache.SplitMetaNamespaceKey(key) if keyErr != nil { logger.Error(err, "Failed to split meta namespace cache key", "cacheKey", key) } if dc.queue.NumRequeues(key) < maxRetries {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 24.2K bytes - Viewed (0)