Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,019 for DEFAULT (0.04 sec)

  1. fastapi/param_functions.py

    
    def Query(  # noqa: N802
        default: Annotated[
            Any,
            Doc(
                """
                Default value if the parameter field is not set.
                """
            ),
        ] = Undefined,
        *,
        default_factory: Annotated[
            Union[Callable[[], Any], None],
            Doc(
                """
                A callable to generate the default value.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/testdata/workloadsummary.txt

    default            details-v1-698d88b-krdw7                             10.244.2.55 ambient-worker2       None                                HBONE
    default            httpbin-7447985f87-t8hv7                             10.244.1.40 ambient-worker        None                                TCP
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 24 09:07:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. doc/godebug.md

    The possible values for `multipathtcp` are now:
    - "0": disable MPTCP on dialers and listeners by default
    - "1": enable MPTCP on dialers and listeners by default
    - "2": enable MPTCP on listeners only by default
    - "3": enable MPTCP on dialers only by default
    
    For Go 1.24, it now defaults to multipathtcp="2", thus
    enabled by default on listerners. Using multipathtcp="0" reverts to the
    pre-Go 1.24 behavior.
    
    ### Go 1.23
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 28 14:46:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. internal/config/lambda/parse.go

    		}
    		authEnv := target.EnvWebhookAuthToken
    		if k != config.Default {
    			authEnv = authEnv + config.Default + k
    		}
    		clientCertEnv := target.EnvWebhookClientCert
    		if k != config.Default {
    			clientCertEnv = clientCertEnv + config.Default + k
    		}
    
    		clientKeyEnv := target.EnvWebhookClientKey
    		if k != config.Default {
    			clientKeyEnv = clientKeyEnv + config.Default + k
    		}
    
    		webhookArgs := target.WebhookArgs{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. common/config/.golangci-format.yml

      # Can use regexp here: `generated.*`, regexp is applied on full path,
      # including the path prefix if one is set.
      # Default dirs are skipped independently of this option's value (see exclude-dirs-use-default).
      # "/" will be replaced by current OS file path separator to properly work on Windows.
      # Default: []
      exclude-dirs:
        - genfiles$
        - vendor$
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 05 03:02:37 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

                    wConfig.setExcludedDocUrls(getDefaultString("default.config.web.excludedDocUrls", StringUtil.EMPTY));
                    wConfig.setExcludedUrls(getDefaultString("default.config.web.excludedUrls", StringUtil.EMPTY));
                    wConfig.setIncludedDocUrls(getDefaultString("default.config.web.includedDocUrls", StringUtil.EMPTY));
                    wConfig.setIncludedUrls(getDefaultString("default.config.web.includedUrls", StringUtil.EMPTY));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. tests/test_ambiguous_params.py

        ):
    
            @app.get("/items/{item_id}/")
            async def get_item(item_id: Annotated[int, Path(default=1)]):
                pass  # pragma: nocover
    
        with pytest.raises(
            AssertionError,
            match=(
                "`Query` default value cannot be set in `Annotated` for 'item_id'. Set the"
                " default value with `=` instead."
            ),
        ):
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Dec 12 00:22:47 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. tests/test_invalid_sequence_param.py

            @app.get("/items/")
            def read_items(q: List[Item] = Query(default=None)):
                pass  # pragma: no cover
    
    
    def test_invalid_tuple():
        with pytest.raises(AssertionError):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/")
            def read_items(q: Tuple[Item, Item] = Query(default=None)):
                pass  # pragma: no cover
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

        }
    
        /**
         * Returns the default flags for a generic Type-1 message in the
         * current environment.
         * 
         * @return An <code>int</code> containing the default flags.
         */
        public static int getDefaultFlags() {
            return DEFAULT_FLAGS;
        }
    
        /**
         * Returns the default domain from the current environment.
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java

        assertEquals(
            "getOrDefault(absent, default) should return default",
            v3(),
            getMap().getOrDefault(k3(), v3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      @CollectionSize.Require(absent = ZERO)
      public void testGetOrDefault_presentNull() {
        initMapWithNullKey();
        assertEquals(
            "getOrDefault(null, default) should return the associated value",
            getValueForNullKey(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top