Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 1,200 for PARAMETERS (0.06 seconds)

  1. tests/test_ambiguous_params.py

    from fastapi.param_functions import Query
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    def test_no_annotated_defaults():
        with pytest.raises(
            AssertionError, match="Path parameters cannot have a default value"
        ):
    
            @app.get("/items/{item_id}/")
            async def get_item(item_id: Annotated[int, Path(default=1)]):
                pass  # pragma: nocover
    
        with pytest.raises(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2K bytes
    - Click Count (1)
  2. guava-testlib/src/com/google/common/collect/testing/TestSubjectGenerator.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * To be implemented by test generators that can produce test subjects without requiring any
     * parameters.
     *
     * @param <T> the type created by this generator.
     * @author George van den Driessche
     */
    @GwtCompatible
    @NullMarked
    public interface TestSubjectGenerator<T extends @Nullable Object> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/wizard/StartCrawlingForm.java

     */
    package org.codelibs.fess.app.web.admin.wizard;
    
    /**
     * Form class for starting crawling operations in the admin wizard.
     *
     * This form is used to collect user input and parameters needed to initiate
     * crawling operations through the administrative interface wizard workflow.
     * It serves as a data transfer object between the web layer and the crawling
     * service components.
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/http/NtlmServletTest.java

         * @throws CIFSException
         */
        @BeforeEach
        void setUp() throws CIFSException {
            ntlmServlet = new TestNtlmServlet();
    
            // Mock ServletConfig to provide initialization parameters
            Map<String, String> initParams = new HashMap<>();
            initParams.put("jcifs.smb.client.domain", "TEST_DOMAIN");
            initParams.put("jcifs.http.domainController", "dc.test.domain");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  5. docs/ja/docs/tutorial/body-multiple-params.md

    # ボディ - 複数のパラメータ { #body-multiple-parameters }
    
    これまで`Path`と`Query`をどう使うかを見てきましたが、リクエストボディ宣言のより高度な使い方を見てみましょう。
    
    ## `Path`、`Query`とボディパラメータを混ぜる { #mix-path-query-and-body-parameters }
    
    まず、もちろん、`Path`と`Query`とリクエストボディのパラメータ宣言は自由に混ぜることができ、 **FastAPI** は何をするべきかを知っています。
    
    また、デフォルトを`None`に設定することで、ボディパラメータをオプションとして宣言することもできます:
    
    {* ../../docs_src/body_multiple_params/tutorial001_an_py310.py hl[18:20] *}
    
    /// note | 備考
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionRequest.java

     * under the License.
     */
    package org.apache.maven.settings.crypto;
    
    import java.util.List;
    
    import org.apache.maven.settings.Proxy;
    import org.apache.maven.settings.Server;
    
    /**
     * Collects parameters that control the decryption of settings.
     *
     * @deprecated since 4.0.0
     */
    @Deprecated(since = "4.0.0")
    public interface SettingsDecryptionRequest {
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/ReportingConverter.java

    /**
     * Handles conversion of the <code>&lt;reporting&gt;</code> section into the configuration of Maven Site Plugin 3.x,
     * i.e. <code>reportPlugins</code> and <code>outputDirectory</code> parameters.
     *
     * @deprecated since maven 4.0, this interface is not used anymore and is only here for compatibility
     */
    @Deprecated
    public interface ReportingConverter {
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/NtlmChallenge.java

        /**
         * Challenge
         */
        public byte[] challenge;
    
        /**
         * Server address
         */
        public UniAddress dc;
    
        /**
         * Creates a new NTLM challenge with the specified parameters.
         * @param challenge the NTLM challenge bytes
         * @param dc the domain controller address
         */
        public NtlmChallenge(final byte[] challenge, final UniAddress dc) {
            this.challenge = challenge;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/background-tasks.md

    ## Create a task function { #create-a-task-function }
    
    Create a function to be run as the background task.
    
    It is just a standard function that can receive parameters.
    
    It can be an `async def` or normal `def` function, **FastAPI** will know how to handle it correctly.
    
    In this case, the task function will write to a file (simulating sending an email).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/normalizer/Normalizer.java

    package org.codelibs.fess.suggest.normalizer;
    
    /**
     * An interface for normalizing text.
     * Implementations of this interface should provide a method to normalize
     * a given text based on the specified field and optional language parameters.
     */
    public interface Normalizer {
        /**
         * Normalizes the given text.
         * @param text The text to normalize
         * @param field The field name
         * @param langs The language
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 1.1K bytes
    - Click Count (0)
Back to Top