Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 569 for listFn (0.07 sec)

  1. docs_src/custom_request_and_route/tutorial002.py

    from typing import Callable, List
    
    from fastapi import Body, FastAPI, HTTPException, Request, Response
    from fastapi.exceptions import RequestValidationError
    from fastapi.routing import APIRoute
    
    
    class ValidationErrorLoggingRoute(APIRoute):
        def get_route_handler(self) -> Callable:
            original_route_handler = super().get_route_handler()
    
            async def custom_route_handler(request: Request) -> Response:
                try:
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 932 bytes
    - Viewed (0)
  2. docs_src/generate_clients/tutorial002.py

    from typing import List
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    class ResponseMessage(BaseModel):
        message: str
    
    
    class User(BaseModel):
        username: str
        email: str
    
    
    @app.post("/items/", response_model=ResponseMessage, tags=["items"])
    async def create_item(item: Item):
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Mar 04 22:02:18 UTC 2022
    - 755 bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/storage/v1/generated.proto

    }
    
    // CSIDriverList is a collection of CSIDriver objects.
    message CSIDriverList {
      // Standard list metadata
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    
      // items is the list of CSIDriver
      repeated CSIDriver items = 2;
    }
    
    // CSIDriverSpec is the specification of a CSIDriver.
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/CharMappingService.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.service;
    
    import java.util.Collections;
    import java.util.List;
    
    import org.codelibs.core.beans.util.BeanUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.pager.CharMappingPager;
    import org.codelibs.fess.dict.DictionaryFile.PagingList;
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/ProtwordsService.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.service;
    
    import java.util.Collections;
    import java.util.List;
    
    import org.codelibs.core.beans.util.BeanUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.pager.ProtwordsPager;
    import org.codelibs.fess.dict.DictionaryFile.PagingList;
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/StemmerOverrideService.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.service;
    
    import java.util.Collections;
    import java.util.List;
    
    import org.codelibs.core.beans.util.BeanUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.pager.StemmerOverridePager;
    import org.codelibs.fess.dict.DictionaryFile.PagingList;
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java

            validateApi(body, messages -> {});
            final BoostDocPager pager = copyBeanToNewBean(body, BoostDocPager.class);
            final List<BoostDocumentRule> list = boostDocumentRuleService.getBoostDocumentRuleList(pager);
            return asJson(new ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList()))
                    .total(pager.getAllRecordCount()).status(Status.OK).result());
        }
    
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java

            validateApi(body, messages -> {});
            final GroupPager pager = copyBeanToNewBean(body, GroupPager.class);
            final List<Group> list = groupService.getGroupList(pager);
            return asJson(
                    new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList()))
                            .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result());
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/query/StoredLtrQueryBuilder.java

            this.params = Objects.requireNonNull(params);
            return this;
        }
    
        public List<String> activeFeatures() {
            return activeFeatures;
        }
    
        public StoredLtrQueryBuilder activeFeatures(final List<String> activeFeatures) {
            this.activeFeatures = Objects.requireNonNull(activeFeatures);
            return this;
        }
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/admin/PluginTests.java

    import static org.hamcrest.Matchers.equalTo;
    import static org.junit.Assert.assertFalse;
    import static org.junit.Assert.assertTrue;
    
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.core.lang.ThreadUtil;
    import org.codelibs.fess.helper.PluginHelper.Artifact;
    import org.codelibs.fess.it.CrudTestBase;
    import org.junit.jupiter.api.AfterEach;
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Mon Jul 01 02:20:48 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top