- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 235 for subclass (0.11 sec)
-
docs/en/docs/tutorial/response-model.md
This simple case is handled automatically by FastAPI because the return type annotation is the class (or a subclass of) `Response`. And tools will also be happy because both `RedirectResponse` and `JSONResponse` are subclasses of `Response`, so the type annotation is correct. ### Annotate a Response Subclass You can also use a subclass of `Response` in the type annotation: ```Python hl_lines="8-9"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDescriptionRenderer.java
simplelist.setAttribute("type", "vert"); for (ClassDoc subClass : classDoc.getSubClasses()) { Element member = document.createElement("member"); Element apilink = document.createElement("apilink"); apilink.setAttribute("class", subClass.getName()); member.appendChild(apilink); simplelist.appendChild(member);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMap.java
* {@link ForwardingMap#entrySet}. In many cases, you may wish to override {@link * ForwardingMap#keySet} to forward to this implementation or a subclass thereof. * * @since 10.0 */ protected class StandardKeySet extends Maps.KeySet<K, V> { /** Constructor for use by subclasses. */ public StandardKeySet() { super(ForwardingMap.this); } } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 9.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java
* situations, you may wish to override {@link SortedMultiset#elementSet} to forward to this * implementation or a subclass thereof. * * @since 15.0 */ protected class StandardElementSet extends SortedMultisets.NavigableElementSet<E> { /** Constructor for use by subclasses. */ public StandardElementSet() { super(ForwardingSortedMultiset.this); } } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 8.7K bytes - Viewed (0) -
tensorflow/c/eager/abstract_function.h
class AbstractFunction : public core::RefCounted { protected: enum AbstractFunctionKind { kGraph, kMlir }; explicit AbstractFunction(AbstractFunctionKind kind) : kind_(kind) {} public: // Returns which subclass is this instance of. AbstractFunctionKind getKind() const { return kind_; } // Returns the AbstractFunction as a FunctionDef. virtual absl::Status GetFunctionDef(const FunctionDef**) = 0;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 1.9K bytes - Viewed (0) -
tensorflow/c/eager/abstract_op_attrs.h
// Attributes of an op. class AbstractOpAttrs { protected: enum AbstractOpAttrsKind { kEager, kTfrt }; explicit AbstractOpAttrs(AbstractOpAttrsKind kind) : kind_(kind) {} public: // Returns which subclass is this instance of. AbstractOpAttrsKind getKind() const { return kind_; } virtual ~AbstractOpAttrs() = default; // Returns the AbstractFunction as a FunctionDef. virtual void GetNameAttrList(
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java
methodArgument = arg; } @Subscribe public void exceptionThrowingMethod(Object arg) throws Exception { throw new IntentionalException(); } /** Local exception subclass to check variety of exception thrown. */ class IntentionalException extends Exception { private static final long serialVersionUID = -2500191180248181379L; } @Subscribe
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
/** * Tests that all package-private {@code writeReplace} methods are overridden in any existing * subclasses. Without such overrides, optimizers might put a {@code writeReplace}-containing class * and its subclass in different packages, causing the serialization system to fail to invoke {@code * writeReplace} when serializing an instance of the subclass. For an example of this problem, see * b/310253115. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 18:53:31 UTC 2024 - 5.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
public void remove() { throw new IllegalStateException() { /* subclass */ }; } @Override public Integer next() { throw new NoSuchElementException() { /* subclass */ }; } @Override public boolean hasNext() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 10.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/RequestBody.kt
/** * A duplex request body is special in how it is **transmitted** on the network and * in the **API contract** between OkHttp and the application. * * This method returns false unless it is overridden by a subclass. * * ### Duplex Transmission * * With regular HTTP calls the request always completes sending before the response may begin
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jan 25 14:41:37 UTC 2024 - 9.6K bytes - Viewed (0)