- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for primed (0.06 sec)
-
docs/es/docs/tutorial/cookie-params.md
## Importar `Cookie` Primero importa `Cookie`: {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[3]*} ## Declarar parámetros de `Cookie` Luego declara los parámetros de cookie usando la misma estructura que con `Path` y `Query`. El primer valor es el valor por defecto, puedes pasar todos los parámetros adicionales de validación o anotación:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 10:33:43 UTC 2024 - 1.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java
} public int hashCode() { final int prime = 31; int result = 1; result = prime * result + eventType; result = prime * result + ((exception == null) ? 0 : exception.hashCode()); result = prime * result + ((localFile == null) ? 0 : localFile.hashCode()); result = prime * result + requestType; return result; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.7K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
} return setupConfigdumpEnvoyConfigWriter(data, out) } func setupConfigdumpEnvoyConfigWriter(debug []byte, out io.Writer) (*configdump.ConfigWriter, error) { cw := &configdump.ConfigWriter{Stdout: out} err := cw.Prime(debug) if err != nil { return nil, err } return cw, nil } func setupEnvoyClusterStatsConfig(kubeClient kube.CLIClient, podName, podNamespace string, outputFormat string) (string, error) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 15:53:49 UTC 2024 - 50.6K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/secret_test.go
expectedOut, err := io.ReadAll(outFile) if err != nil { t.Errorf("error reading test data output file: %v", err) } gotOut := &bytes.Buffer{} cw := &ConfigWriter{Stdout: gotOut} err = cw.Prime(configDump) assert.NoError(t, err) err = cw.PrintSecretSummary() assert.NoError(t, err) assert.Equal(t, string(expectedOut), gotOut.String()) }) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Oct 28 19:52:53 UTC 2024 - 1.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
ImmutableDoubleArray trimmed = iia.trimmed(); assertThat(trimmed).isNotSameInstanceAs(iia); // Yes, this is apparently how you check array equality in Truth assertThat(trimmed.toArray()).isEqualTo(iia.toArray()); } private static void assertDoesntActuallyTrim(ImmutableDoubleArray iia) { assertThat(iia.trimmed()).isSameInstanceAs(iia); } @J2ktIncompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 21.2K bytes - Viewed (0) -
docs/en/docs/python-types.md
```Python hl_lines="1 4" {!> ../../docs_src/python_types/tutorial008.py!} ``` //// This means: * The variable `prices` is a `dict`: * The keys of this `dict` are of type `str` (let's say, the name of each item). * The values of this `dict` are of type `float` (let's say, the price of each item). #### Union You can declare that a variable can be any of **several types**, for example, an `int` or a `str`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 11:47:53 UTC 2024 - 16.7K bytes - Viewed (0) -
docs/pl/docs/index.md
```Python hl_lines="4 9-12 25-27" from typing import Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float is_offer: Union[bool, None] = None @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 19.3K bytes - Viewed (0) -
docs/fr/docs/tutorial/body.md
```JSON { "name": "Foo", "description": "An optional description", "price": 45.2, "tax": 3.5 } ``` ...`description` et `tax` étant des attributs optionnels (avec `None` comme valeur par défaut), cet "objet" JSON serait aussi valide : ```JSON { "name": "Foo", "price": 45.2 } ``` ## Déclarez-le comme paramètre
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 17:34:41 UTC 2024 - 7.6K bytes - Viewed (0) -
docs/de/docs/index.md
```Python hl_lines="4 9-12 25-27" from typing import Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float is_offer: Union[bool, None] = None @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 21.1K bytes - Viewed (0)