Search Options

Results per page
Sort
Preferred Languages
Advance

Results 821 - 830 of 1,625 for lists (0.03 sec)

  1. docs_src/request_files/tutorial003.py

    from typing import List
    
    from fastapi import FastAPI, File, UploadFile
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_files(
        files: List[bytes] = File(description="Multiple files as bytes"),
    ):
        return {"file_sizes": [len(file) for file in files]}
    
    
    @app.post("/uploadfiles/")
    async def create_upload_files(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 913 bytes
    - Viewed (0)
  2. docs_src/request_files/tutorial003_an.py

    from typing import List
    
    from fastapi import FastAPI, File, UploadFile
    from fastapi.responses import HTMLResponse
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_files(
        files: Annotated[List[bytes], File(description="Multiple files as bytes")],
    ):
        return {"file_sizes": [len(file) for file in files]}
    
    
    @app.post("/uploadfiles/")
    async def create_upload_files(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 987 bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

        }
    
        @Override
        public Model interpolateModel(
                Model model, Path projectDir, ModelBuildingRequest config, ModelProblemCollector problems) {
            List<? extends ValueSource> valueSources = createValueSources(model, projectDir, config, problems);
            List<? extends InterpolationPostProcessor> postProcessors = createPostProcessors(model, projectDir, config);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/pager/SynonymPager.java

    import java.io.Serializable;
    import java.util.List;
    
    import org.codelibs.fess.util.ComponentUtil;
    
    public class SynonymPager implements Serializable {
    
        private static final long serialVersionUID = 1L;
    
        private int allRecordCount;
    
        private int allPageCount;
    
        private boolean existPrePage;
    
        private boolean existNextPage;
    
        private List<Integer> pageNumberList;
    
        private int pageSize;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java

       * collection that's both a queue and a list, to avoid running the common collection tests twice.
       * By default, collection tests do run.
       */
      @CanIgnoreReturnValue
      public QueueTestSuiteBuilder<E> skipCollectionTests() {
        runCollectionTests = false;
        return this;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

    import java.lang.reflect.Type;
    import java.util.List;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import org.apache.maven.model.v4.MavenMerger;
    import org.junit.jupiter.api.Test;
    
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.hasItems;
    
    class FileToRawModelMergerTest {
    
        /**
         * Ensures that all list-merge methods are overridden
         */
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. docs/metrics/prometheus/grafana/replication/minio-replication-cluster.json

    {
      "annotations": {
        "list": [
          {
            "builtIn": 1,
            "datasource": {
              "type": "datasource",
              "uid": "grafana"
            },
            "enable": true,
            "hide": true,
            "iconColor": "rgba(0, 211, 255, 1)",
            "name": "Annotations & Alerts",
            "type": "dashboard"
          }
        ]
      },
     "__inputs": [
        { 
          "name": "DS_PROMETHEUS",
          "label": "Prometheus",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:15:39 UTC 2024
    - 71.1K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java

            return this;
        }
    
        public List<ArtifactRepository> getRemoteRepositories() {
            if (remoteRepositories == null) {
                remoteRepositories = new ArrayList<>();
            }
    
            return remoteRepositories;
        }
    
        public DefaultRepositoryRequest setRemoteRepositories(List<ArtifactRepository> remoteRepositories) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/pager/BadWordPager.java

        }
    
        public void setCurrentPageNumber(final int currentPageNumber) {
            this.currentPageNumber = currentPageNumber;
        }
    
        public List<Integer> getPageNumberList() {
            return pageNumberList;
        }
    
        public void setPageNumberList(final List<Integer> pageNumberList) {
            this.pageNumberList = pageNumberList;
        }
    
        protected int getDefaultPageSize() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/pager/ElevateWordPager.java

        }
    
        public void setCurrentPageNumber(final int currentPageNumber) {
            this.currentPageNumber = currentPageNumber;
        }
    
        public List<Integer> getPageNumberList() {
            return pageNumberList;
        }
    
        public void setPageNumberList(final List<Integer> pageNumberList) {
            this.pageNumberList = pageNumberList;
        }
    
        protected int getDefaultPageSize() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top