- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 1,006 for want (0.18 sec)
-
docs/en/docs/tutorial/handling-errors.md
Let's say you have a custom exception `UnicornException` that you (or a library you use) might `raise`. And you want to handle this exception globally with FastAPI. You could add a custom exception handler with `@app.exception_handler()`: ```Python hl_lines="5-7 13-18 24" {!../../docs_src/handling_errors/tutorial003.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.1K bytes - Viewed (0) -
docs/en/docs/reference/websockets.md
It is provided directly by Starlette, but you can import it from `fastapi`: ```python from fastapi import WebSocket ``` /// tip When you want to define dependencies that should be compatible with both HTTP and WebSockets, you can define a parameter that takes an `HTTPConnection` instead of a `Request` or a `WebSocket`. /// ::: fastapi.WebSocket options:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 1.7K bytes - Viewed (0) -
istioctl/cmd/sysexits_test.go
} func TestKnownExitStrings(t *testing.T) { for err, wantCode := range KnownErrorCode { if code := GetExitCode(err); code != wantCode { t.Errorf("For %v want %v, but is %v", err, wantCode, code) } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 1.3K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
return nil, err } if int64(len(buf)) < want { return nil, fmt.Errorf("buffer shorter than expected (buflen: %d, want: %d): %w", len(buf), want, errFileCorrupt) } tmp = buf[want:] _, after, err := msgp.ReadUint32Bytes(tmp) if err != nil { return nil, fmt.Errorf("readXLMetaNoData(read_meta): unknown metadata version %w", err) } want += int64(len(tmp) - len(after))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 64K bytes - Viewed (1) -
.teamcity/src/main/kotlin/promotion/PublishNightlyDocumentation.kt
enabled = branch.enableVcsTriggers // https://www.jetbrains.com/help/teamcity/2022.04/configuring-schedule-triggers.html#general-syntax-1 // We want it to be triggered only when there're pending changes in the specific vcs root, i.e. GradleMaster/GradleRelease triggerRules = "+:root=${VersionedSettingsBranch.fromDslContext().vcsRootId()}:."
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Feb 07 17:05:02 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LineProcessor.java
/** * A callback to be used with the streaming {@code readLines} methods. * * <p>{@link #processLine} will be called for each line that is read, and should return {@code * false} when you want to stop processing. * * @author Miles Barr * @since 1.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault public interface LineProcessor<T extends @Nullable Object> { /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* </ul> * * <p>The main purpose of {@link #addListener addListener} is to support this chaining. You will * rarely use it directly, in part because it does not provide direct access to the {@code Future} * result. (If you want such access, you may prefer {@link Futures#addCallback * Futures.addCallback}.) Still, direct {@code addListener} calls are occasionally useful: * * <pre>{@code * final String name = ...; * inFlight.add(name);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 26 21:13:41 UTC 2023 - 8K bytes - Viewed (0) -
istioctl/pkg/util/configdump/wrapper.go
func (r *resolver) FindMessageByURL(url string) (protoreflect.MessageType, error) { typ, err := r.Types.FindMessageByURL(url) if err != nil { // Here we ignore the error since we want istioctl to ignore unknown types due to the Envoy version change msg := exprpb.Type{TypeKind: &exprpb.Type_Dyn{Dyn: &emptypb.Empty{}}} return msg.ProtoReflect().Type(), nil } return typ, nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 1.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/SloppyTearDown.java
*/ package com.google.common.testing; import com.google.common.annotations.GwtCompatible; import java.util.logging.Level; import java.util.logging.Logger; /** * Simple utility for when you want to create a {@link TearDown} that may throw an exception but * should not fail a test when it does. (The behavior of a {@code TearDown} that throws an exception
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 19:22:18 UTC 2023 - 1.6K bytes - Viewed (0) -
common/scripts/lint_copyright_banner.sh
#!/bin/bash # WARNING: DO NOT EDIT, THIS FILE IS PROBABLY A COPY # # The original version of this file is located in the https://github.com/istio/common-files repo. # If you're looking at this file in a different repo and want to make a change, please go to the # common-files repo, make the change there and check it in. Then come back to this repo and run # "make update-common". # Copyright Istio Authors #
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Sep 11 23:32:21 UTC 2019 - 1.2K bytes - Viewed (0)