- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 1,717 for default (0.06 seconds)
-
docs/en/docs/advanced/response-change-status-code.md
You probably read before that you can set a default [Response Status Code](../tutorial/response-status-code.md){.internal-link target=_blank}. But in some cases you need to return a different status code than the default. ## Use case { #use-case } For example, imagine that you want to return an HTTP status code of "OK" `200` by default.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.5K bytes - Click Count (0) -
internal/s3select/jstream/decoder.go
scratch: &scratch{data: make([]byte, 1024)}, metaCh: make(chan *MetaValue, 128), } if emitDepth < 0 { d.emitDepth = 0 d.emitRecursive = true } return d } // ObjectAsKVS - by default JSON returns map[string]interface{} this // is usually fine in most cases, but when you need to preserve the // input order its not a right data structure. To preserve input // order please use this option.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.4K bytes - Click Count (0) -
docs_src/websockets/tutorial002_py39.py
</html> """ @app.get("/") async def get(): return HTMLResponse(html) async def get_cookie_or_token( websocket: WebSocket, session: Union[str, None] = Cookie(default=None), token: Union[str, None] = Query(default=None), ): if session is None and token is None: raise WebSocketException(code=status.WS_1008_POLICY_VIOLATION) return session or token
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 2.8K bytes - Click Count (0) -
docs/es/docs/tutorial/query-params-str-validations.md
Entonces: ```Python q: str | None = Query(default=None) ``` ...hace que el parĂ¡metro sea opcional, con un valor por defecto de `None`, lo mismo que: ```Python
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 18.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingListeningExecutorService.java
* executor service as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code * default} methods. Instead, it inherits their default implementations. When those implementations * invoke methods, they invoke methods on the {@code ForwardingListeningExecutorService}. * * @author Isaac Shum
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.2K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java
import org.apache.maven.api.services.LifecycleRegistry; import org.apache.maven.api.services.PackagingRegistry; import org.apache.maven.impl.model.DefaultLifecycleBindingsInjector; import static org.apache.maven.api.Lifecycle.DEFAULT; @Singleton @Named @Priority(5) @Deprecated public class EmptyLifecycleBindingsInjector extends DefaultLifecycleBindingsInjector { private static LifecycleRegistry lifecycleRegistry;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 5.8K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java
import org.apache.maven.api.services.LifecycleRegistry; import org.apache.maven.api.services.PackagingRegistry; import org.apache.maven.impl.model.DefaultLifecycleBindingsInjector; import static org.apache.maven.api.Lifecycle.DEFAULT; @Singleton @Named @Priority(5) public class EmptyLifecycleBindingsInjector extends DefaultLifecycleBindingsInjector { private static LifecycleRegistry lifecycleRegistry;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 5.8K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
} /** * Attempts to load the named implementation, uses default implementation if no name is given. * * @param name The optional implementation name * @param defaultClazz The default implementation type * @return Custom implementation type if one was given; otherwise default implementation type */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 15.3K bytes - Click Count (0) -
apache-maven/src/assembly/maven/conf/settings.xml
| | Default: ${user.home}/.m2/repository <localRepository>/path/to/local/repo</localRepository> --> <!-- interactiveMode | This will determine whether maven prompts you when it needs input. If set to false, | maven will use a sensible default value, perhaps based on some other setting, for | the parameter in question. | | Default: true <interactiveMode>true</interactiveMode>Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 22 07:44:50 GMT 2025 - 11.1K bytes - Click Count (0) -
tests/test_schema_extra_examples.py
def query_example( data: Union[str, None] = Query( default=None, example="query1", ), ): return data @app.get("/query_examples/") def query_examples( data: Union[str, None] = Query( default=None, examples=["query1", "query2"], ), ): return data
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 32.2K bytes - Click Count (0)