Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1861 - 1870 of 7,602 for _class (0.06 sec)

  1. docs_src/body_updates/tutorial001_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from fastapi.encoders import jsonable_encoder
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: Union[str, None] = None
        description: Union[str, None] = None
        price: Union[float, None] = None
        tax: float = 10.5
        tags: list[str] = []
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 900 bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/CompileAll.kt

    package configurations
    
    import common.Os
    import common.buildScanTagParam
    import common.getBuildScanCustomValueParam
    import model.CIBuildModel
    import model.Stage
    
    class CompileAll(model: CIBuildModel, stage: Stage) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = {
        id(buildTypeId(model))
        name = "Compile All"
        description = "Compiles all production/test source code and warms up the build cache"
    
        features {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

      public void testInvalidIntRange() {
        assertThrows(IllegalArgumentException.class, () -> ContiguousSet.closed(2, 1));
        assertThrows(IllegalArgumentException.class, () -> ContiguousSet.closedOpen(2, 1));
      }
    
      public void testInvalidLongRange() {
        assertThrows(IllegalArgumentException.class, () -> ContiguousSet.closed(2L, 1L));
        assertThrows(IllegalArgumentException.class, () -> ContiguousSet.closedOpen(2L, 1L));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/path-params.md

    /// check | "확인"
    
    즉, 파이썬 타입 선언을 하면 **FastAPI**는 데이터 검증을 합니다.
    
    오류에는 정확히 어느 지점에서 검증을 통과하지 못했는지 명시됩니다.
    
    이는 API와 상호 작용하는 코드를 개발하고 디버깅하는 데 매우 유용합니다.
    
    ///
    
    ## 문서화
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. fess-crawler-lasta/src/main/resources/crawler/container.xml

    <!DOCTYPE components PUBLIC "-//DBFLUTE//DTD LastaDi 1.0//EN"
    	"http://dbflute.org/meta/lastadi10.dtd">
    <components namespace="fessCrawler">
    
    	<component class="org.lastaflute.di.naming.StyledNamingConvention">
    	</component>
    
    	<!-- Container -->
    	<component name="crawlerContainer"
    		class="org.codelibs.fess.crawler.container.LastaCrawlerContainer">
    	</component>
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 418 bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/validation/CronExpression.java

    @Retention(RUNTIME)
    @Documented
    @Constraint(validatedBy = CronExpressionValidator.class)
    public @interface CronExpression {
    
        String message() default "{org.lastaflute.validator.constraints.CronExpression.message}";
    
        Class<?>[] groups() default {};
    
        Class<? extends Payload>[] payload() default {};
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

     * the {@link Futures#catching(ListenableFuture, Class, com.google.common.base.Function,
     * java.util.concurrent.Executor) Futures.catching} family of methods. Those versions have slightly
     * different signatures.
     */
    @GwtCompatible(emulated = true)
    @J2ktIncompatible // Super-sourced
    @ElementTypesAreNonnullByDefault
    abstract class GwtFuturesCatchingSpecialization {
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java

     * versions of the {@link FluentFuture#catching(Class, com.google.common.base.Function)
     * FluentFuture.catching} family of methods. Those versions have slightly different signatures.
     */
    @GwtCompatible(emulated = true)
    @J2ktIncompatible // Super-sourced
    @ElementTypesAreNonnullByDefault
    abstract class GwtFluentFutureCatchingSpecialization<V extends @Nullable Object>
        extends AbstractFuture<V> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/beans/converter/TimestampConverterTest.java

        public void testIsTarget() throws Exception {
            final TimestampConverter converter = new TimestampConverter("yyyy/MM/dd");
            assertThat(converter.isTarget(java.sql.Timestamp.class), is(true));
            assertThat(converter.isTarget(java.util.Date.class), is(not(true)));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. tests/test_response_class_no_mediatype.py

    from fastapi.responses import JSONResponse
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class JsonApiResponse(JSONResponse):
        media_type = "application/vnd.api+json"
    
    
    class Error(BaseModel):
        status: str
        title: str
    
    
    class JsonApiError(BaseModel):
        errors: typing.List[Error]
    
    
    @app.get(
        "/a",
        response_class=Response,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top