Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 477 for _argument (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

                assertEquals(expectedSize, context.size());
            }
    
            static Stream<Arguments> provideSizeTestCases() {
                return Stream.of(Arguments.of(0, 0, 4), Arguments.of(1, 0, 6), Arguments.of(0, 1, 5), Arguments.of(1, 1, 7),
                        Arguments.of(5, 10, 24), Arguments.of(10, 20, 44), Arguments.of(20, 32, 76));
            }
        }
    
        @Nested
        @DisplayName("Round-trip Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  2. docs/pt/docs/advanced/middleware.md

    O middleware não precisa ser feito para o FastAPI ou Starlette para funcionar, desde que siga a especificação ASGI.
    
    No geral, os middlewares ASGI são classes que esperam receber um aplicativo ASGI como o primeiro argumento.
    
    Então, na documentação de middlewares ASGI de terceiros, eles provavelmente dirão para você fazer algo como:
    
    ```Python
    from unicorn import UnicornMiddleware
    
    app = SomeASGIApp()
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Oct 30 20:00:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/Types.java

        checkNotNull(arguments);
        checkArgument(rawType.getEnclosingClass() != null, "Owner type for unenclosed %s", rawType);
        return new ParameterizedTypeImpl(ownerType, rawType, arguments);
      }
    
      /** Returns a type where {@code rawType} is parameterized by {@code arguments}. */
      static ParameterizedType newParameterizedType(Class<?> rawType, Type... arguments) {
        return new ParameterizedTypeImpl(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/extra-models.md

    {* ../../docs_src/extra_models/tutorial003_py310.py hl[1,14:15,18:20,33] *}
    
    
    ### `Union` en Python 3.10
    
    En este ejemplo pasamos `Union[PlaneItem, CarItem]` como el valor del argumento `response_model`.
    
    Porque lo estamos pasando como un **valor a un argumento** en lugar de ponerlo en una **anotación de tipo**, tenemos que usar `Union` incluso en Python 3.10.
    
    Si estuviera en una anotación de tipo podríamos haber usado la barra vertical, como:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/packaging/common/scripts/preinst

                        -d "$FESS_USER_HOME"  \
                        "$FESS_USER"
                echo " OK"
            fi
        ;;
    
        *)
            echo "pre install script called with unknown argument \`$1'" >&2
            exit 1
        ;;
    esac
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Dec 01 09:48:15 UTC 2016
    - 2.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java

         * .
         */
        @Test
        public void testToBinaryException() {
            exception.expect(ClIllegalArgumentException.class);
            exception.expectMessage(is("[ECL0009]argument[o] is illegal. because class java.lang.Object."));
            BinaryConversionUtil.toBinary(new Object());
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. docs/es/docs/advanced/middleware.md

    from unicorn import UnicornMiddleware
    
    app = FastAPI()
    
    app.add_middleware(UnicornMiddleware, some_config="rainbow")
    ```
    
    `app.add_middleware()` recibe una clase de middleware como primer argumento y cualquier argumento adicional que se le quiera pasar al middleware.
    
    ## Middlewares integrados
    
    **FastAPI** incluye varios middlewares para casos de uso común, veremos a continuación cómo usarlos.
    
    /// note | Detalles Técnicos
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/packaging/common/scripts/postrm

            REMOVE_SERVICE=true
            REMOVE_USER_AND_GROUP=true
        ;;
        1)
            # If $1=1 this is an upgrade
            IS_UPGRADE=true
        ;;
    
        *)
            echo "post remove script called with unknown argument \`$1'" >&2
            exit 1
        ;;
    esac
    
    # Sets the default values for fess variables used in this script
    FESS_USER="${packaging.fess.user}"
    FESS_GROUP="${packaging.fess.group}"
    PID_DIR="${packaging.fess.pid.dir}"
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Dec 10 01:24:02 UTC 2015
    - 2.2K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/background-tasks.md

    {* ../../docs_src/background_tasks/tutorial001.py hl[14] *}
    
    `.add_task()` receives as arguments:
    
    * A task function to be run in the background (`write_notification`).
    * Any sequence of arguments that should be passed to the task function in order (`email`).
    * Any keyword arguments that should be passed to the task function (`message="some notification"`).
    
    ## Dependency Injection { #dependency-injection }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. src/packaging/common/scripts/prerm

        ;;
        1)
            # Don't do anything on upgrade, because the preun script in redhat gets executed after the postinst (madness!)
        ;;
    
        *)
            echo "pre remove script called with unknown argument \`$1'" >&2
            exit 1
        ;;
    esac
    
    # Stops the service
    if [ "$STOP_REQUIRED" = "true" ]; then
        echo -n "Stopping fess service..."
        if command -v systemctl >/dev/null; then
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 1.7K bytes
    - Viewed (0)
Back to top