Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1461 - 1470 of 7,612 for class (0.04 sec)

  1. docs_src/body_nested_models/tutorial002_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: list[str] = []
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 407 bytes
    - Viewed (0)
  2. docs_src/header_param_models/tutorial001_an.py

    from typing import List, Union
    
    from fastapi import FastAPI, Header
    from pydantic import BaseModel
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    class CommonHeaders(BaseModel):
        host: str
        save_data: bool
        if_modified_since: Union[str, None] = None
        traceparent: Union[str, None] = None
        x_tag: List[str] = []
    
    
    @app.get("/items/")
    async def read_items(headers: Annotated[CommonHeaders, Header()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 446 bytes
    - Viewed (0)
  3. docs_src/query_param_models/tutorial001_py310.py

    from typing import Literal
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: FilterParams = Query()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 422 bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java

            container.singleton("pdfExtractor", PdfExtractor.class)//
                    .singleton("pdfExtractorForPdfPassword", PdfExtractor.class)//
                    .singleton("mimeTypeHelper", MimeTypeHelperImpl.class)//
                    .singleton("tikaExtractor", TikaExtractor.class)//
                    .<ExtractorFactory> singleton("extractorFactory", ExtractorFactory.class, factory -> {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. docs/tr/docs/index.md

    ## Kurulum
    
    <div class="termy">
    
    ```console
    $ pip install fastapi
    
    ---> 100%
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 16 16:50:01 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingBlockingDeque.java

     *
     * @author Emily Soldal
     * @since 14.0
     * @deprecated This class has moved to {@code com.google.common.util.concurrent}. Please use {@link
     *     com.google.common.util.concurrent.ForwardingBlockingDeque} instead.
     */
    @Deprecated
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingBlockingDeque<E> extends ForwardingDeque<E>
        implements BlockingDeque<E> {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

    import jcifs.smb.FileEntry;
    import jcifs.util.Hexdump;
    
    
    /**
     * 
     * @author mbechler
     *
     */
    public class NetServerEnum2Response extends SmbComTransactionResponse {
    
        private static final Logger log = LoggerFactory.getLogger(NetServerEnum2Response.class);
    
        class ServerInfo1 implements FileEntry {
    
            String name;
            int versionMajor;
            int versionMinor;
            int type;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java

    import org.lastaflute.web.response.JsonResponse;
    
    import jakarta.annotation.Resource;
    
    /**
     * @author Keiichi Watanabe
     */
    public class ApiAdminDuplicatehostAction extends FessApiAdminAction {
    
        private static final Logger logger = LogManager.getLogger(ApiAdminDuplicatehostAction.class);
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/searchlog/AdminSearchlogAction.java

    import org.lastaflute.web.response.render.RenderData;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    
    import jakarta.annotation.Resource;
    
    /**
     * @author shinsuke
     */
    public class AdminSearchlogAction extends FessAdminAction {
    
        public static final String ROLE = "admin-searchlog";
    
        private static final String[] CONDITION_FIELDS =
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class MapComputeIfPresentTester<K, V> extends AbstractMapTester<K, V> {
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testComputeIfPresent_supportedAbsent() {
        assertNull(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top