Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for complain (0.04 sec)

  1. docs/en/docs/tutorial/query-params-str-validations.md

    the arguments to the function for it to work correctly, otherwise the values will be different from what you expect (e.g. `QueryInfo` or something similar instead of `str`). And your editor won't complain, and Python won't complain running that function, only when the operations inside error out.
    
    Because `Annotated` can have more than one metadata annotation, you could now even use the same function with other tools, like <a href="https://typer.tiangolo.com/" class="external-link" targe...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/response-model.md

    If you added the return type annotation, tools and editors would complain with a (correct) error telling you that your function is returning a type (e.g. a dict) that is different from what you declared (e.g. a Pydantic model).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/path-params-numeric-validations.md

    But you still need to use `Path` for the `item_id` path parameter. And you don't want to use `Annotated` for some reason.
    
    Python will complain if you put a value with a "default" before a value that doesn't have a "default".
    
    But you can re-order them, and have the value without a default (the query parameter `q`) first.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        PeekingIterator<?> peekingIterator = Iterators.peekingIterator(iterator);
    
        assertEquals("A", peekingIterator.next());
        assertEquals("B", peekingIterator.peek());
    
        /* Should complain on attempt to remove() after peek(). */
        assertThrows(IllegalStateException.class, () -> peekingIterator.remove());
    
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

        class DoShareEnumValidation {
    
            static Stream<Arguments> invalidShareEnumCases() {
                return Stream.of(
                        // Missing trailing slash -> should complain about directory ending
                        Arguments.of("smb://server/share", "/share", true),
                        // Not a server root -> invalid list operation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/Types.java

       * getAnnotatedBounds()} method, then its return type means it won't compile on Android, while if
       * we don't include the method, then the compiler will complain that an abstract method is
       * unimplemented. So instead we use a dynamic proxy to get an implementation. If the method being
       * called on the {@code TypeVariable} instance has the same name as one of the public methods of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/Types.java

       * getAnnotatedBounds()} method, then its return type means it won't compile on Android, while if
       * we don't include the method, then the compiler will complain that an abstract method is
       * unimplemented. So instead we use a dynamic proxy to get an implementation. If the method being
       * called on the {@code TypeVariable} instance has the same name as one of the public methods of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/sql-databases.md

    Now we use `response_model=HeroPublic` instead of the **return type annotation** `-> HeroPublic` because the value that we are returning is actually *not* a `HeroPublic`.
    
    If we had declared `-> HeroPublic`, your editor and linter would complain (rightfully so) that you are returning a `Hero` instead of a `HeroPublic`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    	_, s3Error = parseLocationConstraint(r)
    	if s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// check if client is attempting to create more buckets, complain about it.
    	if currBuckets := globalBucketMetadataSys.Count(); currBuckets+1 > maxBuckets {
    		internalLogIf(ctx, fmt.Errorf("Please avoid creating more buckets %d beyond recommended %d", currBuckets+1, maxBuckets), logger.WarningKind)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.9K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/simple-oauth2.md

    This is something that you have to do yourself in your code, and make sure you use those JSON keys.
    
    It's almost the only thing that you have to remember to do correctly yourself, to be compliant with the specifications.
    
    For the rest, **FastAPI** handles it for you.
    
    ///
    
    ## Update the dependencies { #update-the-dependencies }
    
    Now we are going to update our dependencies.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top