Search Options

Results per page
Sort
Preferred Languages
Advance

Results 901 - 910 of 3,211 for List (0.03 sec)

  1. tests/test_response_model_sub_types.py

    from typing import List
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    
    class Model(BaseModel):
        name: str
    
    
    app = FastAPI()
    
    
    @app.get("/valid1", responses={"500": {"model": int}})
    def valid1():
        pass
    
    
    @app.get("/valid2", responses={"500": {"model": List[int]}})
    def valid2():
        pass
    
    
    @app.get("/valid3", responses={"500": {"model": Model}})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

    import java.util.LinkedList;
    import java.util.List;
    
    class DocBookBuilder {
        final LinkedList<Element> stack = new LinkedList<Element>();
        final Document document;
    
        DocBookBuilder(Document document) {
            this.document = document;
            stack.addFirst(document.createElement("root"));
        }
    
        List<Element> getElements() {
            List<Element> elements = new ArrayList<Element>();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java

            validateApi(body, messages -> {});
            final DuplicateHostPager pager = copyBeanToNewBean(body, DuplicateHostPager.class);
            final List<DuplicateHost> list = duplicateHostService.getDuplicateHostList(pager);
            return asJson(
                    new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList()))
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. istioctl/pkg/completion/completion.go

    	client, err := ctx.CLIClient()
    	if err != nil {
    		return nil, err
    	}
    	ns := ctx.NamespaceOrDefault(ctx.Namespace())
    	podList, err := client.Kube().CoreV1().Pods(ns).List(context.Background(), metav1.ListOptions{})
    	if err != nil {
    		return nil, err
    	}
    
    	var podsName []string
    	for _, pod := range podList.Items {
    		if toComplete == "" || strings.HasPrefix(pod.Name, toComplete) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/admissionregistration/v1/generated.proto

      // Default to 10 seconds.
      // +optional
      optional int32 timeoutSeconds = 7;
    
      // AdmissionReviewVersions is an ordered list of preferred `AdmissionReview`
      // versions the Webhook expects. API server will try to use first version in
      // the list which it supports. If none of the versions specified in this list
      // supported by API server, validation will fail for this object.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java

            validateApi(body, messages -> {});
            final RelatedQueryPager pager = copyBeanToNewBean(body, RelatedQueryPager.class);
            final List<RelatedQuery> list = relatedQueryService.getRelatedQueryList(pager);
            return asJson(
                    new ApiResult.ApiConfigsResponse<EditBody>().settings(list.stream().map(this::createEditBody).collect(Collectors.toList()))
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.ListFeature;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code addAll(int, Collection)} operations on a list. Can't be
     * invoked directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         */
        @Nonnull
        Optional<OutputStream> err();
    
        /**
         * Returns a list of core extensions, if configured in the .mvn/extensions.xml file.
         *
         * @return an {@link Optional} containing the list of core extensions, or empty if not configured
         */
        @Nonnull
        Optional<List<CoreExtension>> coreExtensions();
    
        /**
         * Returns the options associated with this invocation request.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 08:06:47 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.io.PrintWriter;
    import java.io.StringWriter;
    import java.util.Collections;
    import java.util.List;
    
    import org.apache.maven.model.Model;
    
    /**
     * Signals one ore more errors during model building. The model builder tries to collect as many problems as possible
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                final long start = System.currentTimeMillis();
                int numberOfSuggestDocs = 0;
                int numberOfInputDocs = 0;
                final List<Throwable> errors = new ArrayList<>();
    
                final List<QueryLog> queryLogs = new ArrayList<>(docPerReq);
                try {
                    QueryLog queryLog = queryLogReader.read();
                    while (queryLog != null) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top