Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 2,997 for ptype (0.08 seconds)

  1. docs_src/extra_models/tutorial003_py310.py

    class BaseItem(BaseModel):
        description: str
        type: str
    
    
    class CarItem(BaseItem):
        type: str = "car"
    
    
    class PlaneItem(BaseItem):
        type: str = "plane"
        size: int
    
    
    items = {
        "item1": {"description": "All my friends drive a low rider", "type": "car"},
        "item2": {
            "description": "Music is my aeroplane, it's my aeroplane",
            "type": "plane",
            "size": 5,
        },
    }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 612 bytes
    - Click Count (0)
  2. .github/ISSUE_TEMPLATE/bug_report.yaml

    name: Bug Report
    description: Something is not working as expected
    labels: ["type=defect"]
    body:
      - type: markdown
        attributes:
          value: >
            Thank you for filing a bug report. Please help us identify and resolve the bug by filling
            out the following fields. Before we begin, please make sure that the bug is still present in
            the [latest](https://github.com/google/guava/releases/latest) version of Guava available.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 16 20:08:25 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt

                name = performanceTestProject.name + " (Trigger)"
    
                val os = os
                val type = performanceTestSpec.type
    
                applyDefaultSettings(os)
                params {
                    text(
                        "reverse.dep.*.performance.baselines",
                        type.defaultBaselines,
                        display = ParameterDisplay.PROMPT,
                        allowEmpty = true,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Jan 07 10:42:35 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  4. docs/fr/docs/tutorial/body.md

    {* ../../docs_src/body/tutorial001_py310.py hl[16] *}
    
    ... et déclarez que son type est le modèle que vous avez créé : `Item`.
    
    ## Résultats { #results }
    
    En utilisant uniquement les déclarations de type Python, **FastAPI** réussit à :
    
    * Lire le contenu de la requête en tant que JSON.
    * Convertir les types correspondants (si nécessaire).
    * Valider la donnée.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  5. tests/scanner_valuer_test.go

    	return append([]byte("***"), data...), nil
    }
    
    type Num int64
    
    func (i *Num) Scan(src interface{}) error {
    	switch s := src.(type) {
    	case []byte:
    		n, _ := strconv.Atoi(string(s))
    		*i = Num(n)
    	case int64:
    		*i = Num(s)
    	default:
    		return errors.New("Cannot scan NamedInt from " + reflect.ValueOf(src).String())
    	}
    	return nil
    }
    
    type StringsSlice []string
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Jun 07 07:02:07 GMT 2023
    - 10.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            String str = info.toString();
    
            // Verify type is displayed as hex
            assertNotNull(str);
            assertTrue(str.contains("type=0x"));
            // The type should be formatted as 8-character hex
            String expectedHex = String.format("%08x", type);
            assertTrue(str.toLowerCase().contains(expectedHex));
        }
    
        @Test
        @DisplayName("Test with empty strings")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. src/main/webapp/WEB-INF/view/chat/chat.jsp

    		</div>
    	</main>
    	<jsp:include page="../footer.jsp" />
    	<input type="hidden" id="contextPath" value="${contextPath}" />
    	<script type="text/javascript" src="${fe:url('/js/jquery-3.7.1.min.js')}"></script>
    	<script type="text/javascript" src="${fe:url('/js/popper.min.js')}"></script>
    	<script type="text/javascript" src="${fe:url('/js/bootstrap.min.js')}"></script>
    	<script type="text/javascript" src="${fe:url('/js/marked.min.js')}"></script>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/lang/MethodUtil.java

            return GenericsUtil.getRawClass(GenericsUtil.getKeyTypeOfMap(parameterTypes[position]));
        }
    
        /**
         * Returns the key type of the parameterized map declared as the method's return type.
         *
         * @param method
         *            The method. Cannot be {@literal null}
         * @return The key type of the parameterized map
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/DefaultType.java

            private final DefaultType type;
    
            private ArtifactTypeAdapter(DefaultType type) {
                this.type = type;
            }
    
            @Override
            public String getId() {
                return type.id();
            }
    
            @Override
            public String getExtension() {
                return type.getExtension();
            }
    
            @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 19 13:42:58 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertNotPrimitive(type);
        assertEquals(TypeToken.of(Primitives.unwrap((Class<?>) type.getType())), type.unwrap());
      }
    
      private static void assertNotWrapper(TypeToken<?> type) {
        assertThat(type.unwrap()).isEqualTo(type);
      }
    
      private static void assertNotPrimitiveNorWrapper(TypeToken<?> type) {
        assertNotPrimitive(type);
        assertNotWrapper(type);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
Back to Top