- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 945 for optionnel (0.07 seconds)
-
docs/en/docs/tutorial/query-params.md
* `skip=20`: because you set it in the URL * `limit=10`: because that was the default value ## Optional parameters { #optional-parameters } The same way, you can declare optional query parameters, by setting their default to `None`: {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *} In this case, the function parameter `q` will be optional, and will be `None` by default. /// checkCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.5K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
* Point ::= SEQUENCE { * x [0] INTEGER OPTIONAL, * y [1] INTEGER OPTIONAL * } * ``` * * You may also specify a tag class like [DerHeader.TAG_CLASS_APPLICATION]. The default tag class * is [DerHeader.TAG_CLASS_CONTEXT_SPECIFIC]. * * ``` * Point ::= SEQUENCE { * x [APPLICATION 0] INTEGER OPTIONAL, * y [APPLICATION 1] INTEGER OPTIONAL * } * ``` */ fun withTag(Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.4K bytes - Click Count (0) -
tests/test_skip_defaults.py
from typing import Optional from fastapi import FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class SubModel(BaseModel): a: Optional[str] = "foo" class Model(BaseModel): x: Optional[int] = None sub: SubModel class ModelSubclass(Model): y: int z: int = 0 w: Optional[int] = None class ModelDefaults(BaseModel):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Streams.java
* * <p><b>Java 9 users:</b> use {@code optional.stream()} instead. */ @Beta @InlineMe(replacement = "optional.stream()") @InlineMeValidationDisabled("Java 9+ API only") public static <T> Stream<T> stream(java.util.Optional<T> optional) { return optional.isPresent() ? Stream.of(optional.get()) : Stream.empty(); } /** * If a value is present in {@code optional}, returns a stream containing only that element,Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 21 15:40:45 GMT 2025 - 36.8K bytes - Click Count (0) -
docs/en/docs/python-types.md
``` //// #### Using `Union` or `Optional` { #using-union-or-optional } If you are using a Python version below 3.10, here's a tip from my very **subjective** point of view: * 🚨 Avoid using `Optional[SomeType]` * Instead ✨ **use `Union[SomeType, None]`** ✨.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 15.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
* @throws NullPointerException if any element in the stream is {@code null}. * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be * {@code null}) and returns {@code Optional.empty()} if it has none. */ @SuppressWarnings("unchecked") public static <T> Collector<T, ?, Optional<T>> toOptional() { return (Collector) TO_OPTIONAL; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 5.6K bytes - Click Count (0) -
internal/config/etcd/help.go
Optional: true, Type: "path", Sensitive: true, }, config.HelpKV{ Key: ClientCertKey, Description: `client cert key for mTLS authentication` + defaultHelpPostfix(ClientCertKey), Optional: true, Type: "path", Sensitive: true, }, config.HelpKV{ Key: config.Comment, Description: config.DefaultComment, Optional: true,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 27 03:11:37 GMT 2022 - 2.1K bytes - Click Count (0) -
internal/config/help.go
Description: `name for the site e.g. "cal-rack0"`, Optional: true, }, HelpKV{ Key: RegionKey, Type: "string", Description: `name of the location of the server e.g. "us-west-1"`, Optional: true, }, HelpKV{ Key: Comment, Type: "sentence", Description: DefaultComment, Optional: true, }, } RegionHelp = HelpKVS{ HelpKV{Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jun 23 14:45:27 GMT 2023 - 2.8K bytes - Click Count (0) -
fastapi/security/open_id_connect_url.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 3.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java
} @Override public Optional<Boolean> force() { if (commandLine.hasOption(CLIManager.FORCE)) { return Optional.of(Boolean.TRUE); } return Optional.empty(); } @Override public Optional<Boolean> yes() { if (commandLine.hasOption(CLIManager.YES)) { return Optional.of(Boolean.TRUE); } return Optional.empty();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 25 17:39:57 GMT 2025 - 4K bytes - Click Count (0)