Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,521 for cases (0.03 sec)

  1. docs/en/docs/tutorial/request-form-models.md

    ## Check the Docs
    
    You can verify it in the docs UI at `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/request-form-models/image01.png">
    </div>
    
    ## Forbid Extra Form Fields
    
    In some special use cases (probably not very common), you might want to **restrict** the form fields to only those declared in the Pydantic model. And **forbid** any **extra** fields.
    
    /// note
    
    This is supported since FastAPI version `0.114.0`. 🤓
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle-handlers_test.go

    }
    
    // Test for authentication
    func testBucketLifecycleHandlersWrongCredentials(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    	credentials auth.Credentials, t *testing.T,
    ) {
    	// test cases with sample input and expected output.
    	testCases := []struct {
    		method     string
    		bucketName string
    		accessKey  string
    		secretKey  string
    		// Sent body
    		body []byte
    		// Expected response
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

         * it'll either be a CACHE_MISS, in which case we
         * simply give up, or it'll be a Method, in which
         * case, we return it.</p>
         * <p>If nothing is found, then we must actually go
         * and introspect the method from the MethodMap.</p>
         * @param name Method name.
         * @param params Method parameters.
         * @return The found method.
         * @throws MethodMap.AmbiguousException in case of duplicate methods.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

     * created for testing should have Integer node and String edge objects.
     *
     * <p>Test cases that should be handled similarly in any graph implementation are included in this
     * class. For example, testing that {@code nodes()} method returns the set of the nodes in the
     * graph. The following test cases are left for the subclasses to handle:
     *
     * <ul>
     *   <li>Test cases related to whether the graph is directed, undirected, mutable, or immutable.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/BigDecimalMath.java

       * will return {@code Double.MAX_VALUE}, not {@code Double.POSITIVE_INFINITY}.
       *
       * <p>For the case of {@link RoundingMode#HALF_EVEN}, this implementation uses the IEEE 754
       * default rounding mode: if the two nearest representable values are equally near, the one with
       * the least significant bit zero is chosen. (In such cases, both of the nearest representable
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/RangeNonGwtTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.testing.NullPointerTester;
    import junit.framework.TestCase;
    
    /**
     * Test cases for {@link Range} which cannot run as GWT tests.
     *
     * @author Gregory Kick
     * @see RangeTest
     */
    public class RangeNonGwtTest extends TestCase {
    
      public void testNullPointers() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/package-info.java

     *   <li>{@link StandardSystemProperty}
     *   <li>{@link Stopwatch}
     *   <li>{@link Throwables}
     *   <li>{@link Verify}
     * </ul>
     *
     * <h3>The rest</h3>
     *
     * This package also contains some classes with niche use cases (e.g., {@link Utf8} and {@link
     * Defaults}), as well as a number of classes that have been superseded by additions to the JDK.
     */
    @CheckReturnValue
    @ParametersAreNonnullByDefault
    package com.google.common.base;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 16:48:06 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

    import com.google.common.eventbus.Subscribe;
    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    
    /**
     * Test cases for {@code EventBus} that must not be in the same package.
     *
     * @author Louis Wasserman
     */
    public class OutsideEventBusTest extends TestCase {
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.8K bytes
    - Viewed (0)
  9. internal/lock/lock_windows_test.go

    		// Short; unchanged:
    		{`C:\short.txt`, `C:\short.txt`},
    		{`C:\`, `C:\`},
    		{`C:`, `C:`},
    		// The "long" substring is replaced by a looooooong
    		// string which triggers the rewriting. Except in the
    		// cases below where it doesn't.
    		{`C:\long\foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:/long/foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:\long\foo\\bar\.\baz\\`, `\\?\C:\long\foo\bar\baz`},
    		{`\\unc\path`, `\\unc\path`},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/NewCustomTableTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Supplier;
    import java.util.Map;
    import java.util.TreeMap;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Test cases for {@link Tables#newCustomTable}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class NewCustomTableTest extends AbstractTableTest<Character> {
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top