Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3341 - 3350 of 4,204 for Hint (0.02 sec)

  1. tests/test_union_body_discriminator_annotated.py

    @pytest.fixture(name="client")
    def client_fixture() -> TestClient:
        from fastapi import Body
        from pydantic import Discriminator, Tag
    
        class Cat(BaseModel):
            pet_type: str = "cat"
            meows: int
    
        class Dog(BaseModel):
            pet_type: str = "dog"
            barks: float
    
        def get_pet_type(v):
            assert isinstance(v, dict)
            return v.get("pet_type", "")
    
        Pet = Annotated[
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. fastapi/openapi/utils.py

                    status_code_param = response_signature.parameters.get("status_code")
                    if status_code_param is not None:
                        if isinstance(status_code_param.default, int):
                            status_code = str(status_code_param.default)
                operation.setdefault("responses", {}).setdefault(status_code, {})[
                    "description"
                ] = route.response_description
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImpl.java

        /**
         * Adds a rule at the specified position in the rule list.
         * @param index the position to insert the rule
         * @param rule the rule to add
         */
        @Override
        public void addRule(final int index, final Rule rule) {
            ruleList.add(index, rule);
        }
    
        /*
         * (non-Javadoc)
         *
         * @see
         * org.codelibs.fess.crawler.rule.RuleManager#hasRule(org.codelibs.fess.crawler.rule.Rule)
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverRequest.java

                            && Objects.equals(artifactCoordinates, that.artifactCoordinates)
                            && Objects.equals(repositories, that.repositories);
                }
    
                @Override
                public int hashCode() {
                    return Objects.hash(artifactCoordinates, repositories);
                }
    
                @Override
                public String toString() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. migrator/column_type.go

    // Consult your driver documentation for a list of driver data types. Length specifiers
    // are not included.
    // Common type names include "VARCHAR", "TEXT", "NVARCHAR", "DECIMAL", "BOOL",
    // "INT", and "BIGINT".
    func (ct ColumnType) DatabaseTypeName() string {
    	if ct.DataTypeValue.Valid {
    		return ct.DataTypeValue.String
    	}
    	return ct.SQLColumnType.DatabaseTypeName()
    }
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriterTest.java

            assertTrue(getResponse.isExists());
        }
    
        @Test
        public void test_writeMultipleItems() throws Exception {
            SuggestItem[] items = new SuggestItem[3];
            for (int i = 0; i < 3; i++) {
                String[][] readings = new String[1][];
                readings[0] = new String[] { "test" + i };
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final int failureCount = fessConfig.getFailureCountThreshold();
            final String ignoreFailureType = fessConfig.getIgnoreFailureType();
    
            if (failureCount < 0) {
                return Collections.emptyList();
            }
    
            final int count = failureCount;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19.5K bytes
    - Viewed (1)
  8. cmd/object-api-errors.go

    type InvalidPart struct {
    	PartNumber int
    	ExpETag    string
    	GotETag    string
    }
    
    func (e InvalidPart) Error() string {
    	return fmt.Sprintf("Specified part could not be found. PartNumber %d, Expected %s, got %s",
    		e.PartNumber, e.ExpETag, e.GotETag)
    }
    
    // PartTooSmall - error if part size is less than 5MB.
    type PartTooSmall struct {
    	PartSize   int64
    	PartNumber int
    	PartETag   string
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbSessionTest.java

                SmbSession mockSession = mock(SmbSession.class);
                Configuration mockConfig = mock(Configuration.class);
                when(mockSession.getConfig()).thenReturn(mockConfig);
    
                for (int i = 0; i < 10; i++) {
                    assertSame(mockConfig, mockSession.getConfig(), "getConfig should return same result on call " + i);
                }
    
                verify(mockSession, times(10)).getConfig();
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                        if (value != null) {
                            if (!currentDirectiveList.isEmpty() && !StringUtil.isEmpty(value)) {
                                try {
                                    final int crawlDelay = Integer.parseInt(value);
                                    for (final Directive directive : currentDirectiveList) {
                                        directive.setCrawlDelay(Math.max(0, crawlDelay));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top