- Sort Score
- Num 10 results
- Language All
Results 1191 - 1200 of 1,352 for nine (0.01 seconds)
-
docs/ru/docs/environment-variables.md
Второй аргумент <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> - это возвращаемое по умолчанию значение. Если значение не указано, то по умолчанию оно равно `None`. В данном случае мы указываем `«World»` в качестве значения по умолчанию. /// Затем можно запустить эту программу на Python: //// tab | Linux, macOS, Windows Bash <div class="termy"> ```console
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:24:39 GMT 2025 - 12.7K bytes - Click Count (0) -
docs/zh/docs/tutorial/request-files.md
可在一个*路径操作*中声明多个 `File` 和 `Form` 参数,但不能同时声明要接收 JSON 的 `Body` 字段。因为此时请求体的编码是 `multipart/form-data`,不是 `application/json`。 这不是 **FastAPI** 的问题,而是 HTTP 协议的规定。 /// ## 可选文件上传 您可以通过使用标准类型注解并将 None 作为默认值的方式将一个文件参数设为可选: {* ../../docs_src/request_files/tutorial001_02_py310.py hl[7,14] *} ## 带有额外元数据的 `UploadFile` 您也可以将 `File()` 与 `UploadFile` 一起使用,例如,设置额外的元数据:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 6.3K bytes - Click Count (0) -
internal/mountinfo/mountinfo_linux_test.go
` var err error dir := t.TempDir() mountsPath := filepath.Join(dir, "mounts") if err = os.WriteFile(mountsPath, []byte(successCase), 0o666); err != nil { t.Fatal(err) } // Verifies if reading each line worked properly. { var mounts mountInfos mounts, err = readProcMounts(mountsPath) if err != nil { t.Fatal(err) } if len(mounts) != 3 { t.Fatalf("expected 3 mounts, got %d", len(mounts))
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 7.3K bytes - Click Count (0) -
internal/event/target/redis.go
} return nil } func (r RedisArgs) validateFormat(c redis.Conn) error { typeAvailable, err := redis.String(c.Do("TYPE", r.Key)) if err != nil { return err } if typeAvailable != "none" { expectedType := "hash" if r.Format == event.AccessFormat { expectedType = "list" } if typeAvailable != expectedType {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 9.1K bytes - Click Count (0) -
docs/ja/docs/python-types.md
* この`dict`の値は`float`型です。(つまり、各項目の価格) #### `Optional` また、`Optional`を使用して、変数が`str`のような型を持つことを宣言することもできますが、それは「オプション」であり、`None`にすることもできます。 ```Python hl_lines="1 4" {!../../docs_src/python_types/tutorial009.py!} ``` ただの`str`の代わりに`Optional[str]`を使用することで、エディタは値が常に`str`であると仮定している場合に実際には`None`である可能性があるエラーを検出するのに役立ちます。 #### ジェネリック型 以下のように角括弧で型パラメータを取る型を: * `List` * `Tuple` * `Set` * `Dict`Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 11.6K bytes - Click Count (0) -
lib/wasm/wasm_exec.js
[false, 4], [globalThis, 5], [this, 6], ]); this._idPool = []; // unused ids that have been garbage collected this.exited = false; // whether the Go program has exited // Pass command line arguments and environment variables to WebAssembly by writing them to the linear memory. let offset = 4096; const strPtr = (str) => { const ptr = offset; const bytes = encoder.encode(str + "\0");Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Sun Dec 08 15:34:47 GMT 2024 - 16.6K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java
assertEquals( "1 problem was encountered while building the effective toolchains" + LS + "[FATAL] Non-parseable toolchains (memory): MESSAGE @ line 4, column 2" + LS, e.getMessage()); } } @Test void testIOException() throws Exception { Source src = mock(Source.class);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 14K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java
*/ @Nonnull List<Exception> getExceptions(); /** * Gets the root node of the dependency graph. * * @return the root node of the dependency graph or {@code null} if none */ @Nullable Node getRoot(); /** * The ordered list of the flattened dependency nodes. * * @return the ordered list of the flattened dependency nodes */ @NonnullCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Mar 05 14:29:21 GMT 2025 - 6.3K bytes - Click Count (0) -
internal/hash/checksum_test.go
} w := httptest.NewRecorder() AddChecksumHeader(w, m) gotChksm, err := GetContentChecksum(w.Result().Header) if tt.wantErr { if err == nil { t.Fatalf("Expected error for %s, got none", tt.name) } return } if err != nil { t.Fatalf("GetContentChecksum failed for %s: %v", tt.name, err) } if gotChksm == nil { t.Fatalf("Got nil checksum for %s", tt.name) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 22 14:15:21 GMT 2025 - 7.1K bytes - Click Count (0) -
ci/official/utilities/setup.sh
# TFCI env has been loaded. This is useful for e.g. on-demand "generic" jobs # where the user may wish to change just one option. if [[ -z "${TFCI:-}" ]]; then echo '==TFCI==: The $TFCI variable is not set. This is fine as long as you' echo 'already sourced a TFCI env file with "set -a; source <path>; set +a".' echo 'If you have not, you will see a lot of undefined variable errors.' else FROM_ENV=$(mktemp)
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Thu Jan 09 18:37:25 GMT 2025 - 6.2K bytes - Click Count (0)