Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 871 - 880 of 2,760 for DEFAULT (0.05 seconds)

  1. docs_src/query_params_str_validations/tutorial009_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: str | None = Query(default=None, alias="item-query")):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 281 bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java

        /** List of duplicate host rules for URL conversion */
        protected List<DuplicateHost> duplicateHostList;
    
        /**
         * Default constructor for DuplicateHostHelper.
         * Creates a new duplicate host helper instance.
         */
        public DuplicateHostHelper() {
            // Default constructor
        }
    
        /**
         * Initializes the duplicate host helper after construction.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/header-params.md

    ## Declare `Header` parameters { #declare-header-parameters }
    
    Then declare the header parameters using the same structure as with `Path`, `Query` and `Cookie`.
    
    You can define the default value as well as all the extra validation or annotation parameters:
    
    {* ../../docs_src/header_params/tutorial001_an_py310.py hl[9] *}
    
    /// note | Technical Details
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableEnumMap.java

    /**
     * Implementation of {@link ImmutableMap} backed by a non-empty {@link java.util.EnumMap}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @SuppressWarnings("serial") // we're overriding default serialization
    final class ImmutableEnumMap<K extends Enum<K>, V> extends IteratorBasedImmutableMap<K, V> {
      static <K extends Enum<K>, V> ImmutableMap<K, V> asImmutable(EnumMap<K, V> map) {
        switch (map.size()) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  5. docs_src/query_params_str_validations/tutorial004_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: str | None = Query(
            default=None, min_length=3, max_length=50, pattern="^fixedquery$"
        ),
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 335 bytes
    - Click Count (0)
  6. tests/migrate_test.go

    						columnType)
    				}
    				if v, ok := columnType.DefaultValue(); !ok || v != "hello" {
    					t.Fatalf("column code default value should be correct, name: %v, column: %#v, default value: %v",
    						columnType.Name(), columnType, v)
    				}
    				if v, ok := columnType.Comment(); !ok || v != "my code2" {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Aug 20 04:51:17 GMT 2025
    - 65.2K bytes
    - Click Count (0)
  7. docs_src/query_params_str_validations/tutorial010_py39.py

    from typing import Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Union[str, None] = Query(
            default=None,
            alias="item-query",
            title="Query string",
            description="Query string for the items to search in the database that have a good match",
            min_length=3,
            max_length=50,
            pattern="^fixedquery$",
            deprecated=True,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 574 bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

            case String s -> toInteger(s);
            case java.util.Date d -> pattern != null ? Integer.valueOf(new SimpleDateFormat(pattern).format(d)) : (int) d.getTime();
            case Boolean b -> b ? 1 : 0;
            default -> toInteger(o.toString());
            };
        }
    
        private static Integer toInteger(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapSet.java

        /** The type of this sitemap set (URLSET or INDEX). */
        private String type = URLSET;
    
        /**
         * Creates a new SitemapSet instance with default type URLSET.
         */
        public SitemapSet() {
            // Default constructor
        }
    
        /**
         * Adds a sitemap to this set.
         * @param sitemap the sitemap to add
         */
        public void addSitemap(final Sitemap sitemap) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

    public class AuthenticationManager {
        /** Array of authentication chains to process user operations. */
        protected AuthenticationChain[] chains = {};
    
        /**
         * Default constructor for AuthenticationManager.
         */
        public AuthenticationManager() {
            // Default constructor
        }
    
        /**
         * Inserts a new user across all authentication chains.
         * @param user The user to insert.
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.1K bytes
    - Click Count (0)
Back to Top