Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 162 for Aliases (0.05 seconds)

  1. tests/test_request_params/test_body/test_optional_list.py

    from pydantic import BaseModel, Field
    
    from .utils import get_body_model_name
    
    app = FastAPI()
    
    # =====================================================================================
    # Without aliases
    
    
    @app.post("/optional-list-str", operation_id="optional_list_str")
    async def read_optional_list_str(
        p: Annotated[list[str] | None, Body(embed=True)] = None,
    ):
        return {"p": p}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  2. tests/test_request_params/test_body/test_list.py

    from pydantic import BaseModel, Field
    
    from .utils import get_body_model_name
    
    app = FastAPI()
    
    # =====================================================================================
    # Without aliases
    
    
    @app.post("/required-list-str", operation_id="required_list_str")
    async def read_required_list_str(p: Annotated[list[str], Body(embed=True)]):
        return {"p": p}
    
    
    class BodyModelRequiredListStr(BaseModel):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  3. tests/test_request_params/test_body/test_optional_str.py

    from pydantic import BaseModel, Field
    
    from .utils import get_body_model_name
    
    app = FastAPI()
    
    # =====================================================================================
    # Without aliases
    
    
    @app.post("/optional-str", operation_id="optional_str")
    async def read_optional_str(p: Annotated[str | None, Body(embed=True)] = None):
        return {"p": p}
    
    
    class BodyModelOptionalStr(BaseModel):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  4. src/bytes/buffer.go

    // The slice is valid for use only until the next buffer modification (that is,
    // only until the next call to a method like [Buffer.Read], [Buffer.Write], [Buffer.Reset], or [Buffer.Truncate]).
    // The slice aliases the buffer content at least until the next buffer modification,
    // so immediate changes to the slice will affect the result of future reads.
    func (b *Buffer) Bytes() []byte { return b.buf[b.off:] }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  5. tests/test_request_params/test_query/test_list.py

    from inline_snapshot import snapshot
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    # =====================================================================================
    # Without aliases
    
    
    @app.get("/required-list-str")
    async def read_required_list_str(p: Annotated[list[str], Query()]):
        return {"p": p}
    
    
    class QueryModelRequiredListStr(BaseModel):
        p: list[str]
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/util/SecureKeyManager.java

            // Clear KeyStore entries
            if (keyStore != null) {
                try {
                    java.util.Enumeration<String> aliases = keyStore.aliases();
                    while (aliases.hasMoreElements()) {
                        String alias = aliases.nextElement();
                        if (alias.startsWith("smb.session.")) {
                            keyStore.deleteEntry(alias);
                        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

            }
    
            for (Phase phase : lifecycleOverlay.getPhases()) {
                String phaseId = defaultLifecycles.getLifeCycles().stream()
                        .flatMap(l -> l.getDelegate().aliases().stream())
                        .filter(a -> phase.getId().equals(a.v3Phase()))
                        .findFirst()
                        .map(a -> a.v4Phase())
                        .orElse(phase.getId());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  8. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            checkVersionsEqual("1x", "1.0.0-x");
            checkVersionsEqual("1.0x", "1-x");
            checkVersionsEqual("1.0.0x", "1-x");
            checkVersionsEqual("1cr", "1rc");
    
            // special "aliases" a, b and m for alpha, beta and milestone
            checkVersionsEqual("1a1", "1-alpha-1");
            checkVersionsEqual("1b2", "1-beta-2");
            checkVersionsEqual("1m3", "1-milestone-3");
    
            // case insensitive
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            private static final List<String> RELEASE_QUALIFIERS = Arrays.asList("ga", "final", "release");
    
            private static final Properties ALIASES = new Properties();
    
            static {
                ALIASES.put("cr", "rc");
            }
    
            /**
             * A comparable value for the empty-string qualifier. This one is used to determine if a given qualifier makes
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/Suggester.java

                    return true;
                }
                return list.isEmpty();
            }).forEach(s -> {
                if (logger.isInfoEnabled()) {
                    logger.info("Deleting disabled index (no aliases): index={}", s);
                }
                client.admin().indices().prepareDelete(s).execute().actionGet(suggestSettings.getIndicesTimeout());
            });
        }
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 21.6K bytes
    - Click Count (3)
Back to Top