Search Options

Results per page
Sort
Preferred Languages
Advance

Results 811 - 820 of 3,421 for list (0.05 sec)

  1. docs_src/request_files/tutorial002_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()]):
        return {"file_sizes": [len(file) for file in files]}
    
    
    @app.post("/uploadfiles/")
    async def create_upload_files(files: List[UploadFile]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 861 bytes
    - Viewed (0)
  2. docs/fr/docs/python-types.md

    Pour déclarer ces types et les types internes, on utilise le module standard de Python `typing`.
    
    Il existe spécialement pour supporter ces annotations de types.
    
    #### `List`
    
    Par exemple, définissons une variable comme `list` de `str`.
    
    Importez `List` (avec un `L` majuscule) depuis `typing`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:21:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/query-params-str-validations.md

    ```
    
    the default of `q` will be: `["foo", "bar"]` and your response will be:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    }
    ```
    
    #### Using just `list`
    
    You can also use `list` directly instead of `List[str]` (or `list[str]` in Python 3.9+):
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="9"
    {!> ../../docs_src/query_params_str_validations/tutorial013_an_py39.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

          object : BasicDerAdapter.Codec<T> {
            override fun decode(reader: DerReader): T {
              return reader.withTypeHint {
                val list = mutableListOf<Any?>()
    
                while (list.size < members.size) {
                  val member = members[list.size]
                  list += member.fromDer(reader)
                }
    
                if (reader.hasNext()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java

        public abstract void overriddenAndAnnotatedInSubclass(Object o);
      }
    
      static class SubClass extends SuperClass {
        final List<Object> overriddenInSubclassNowhereAnnotatedEvents = Lists.newArrayList();
        final List<Object> overriddenAndAnnotatedInSubclassEvents = Lists.newArrayList();
    
        @Override
        public void overriddenInSubclassNowhereAnnotated(Object o) {
          overriddenInSubclassNowhereAnnotatedEvents.add(o);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/MultiIteratorTest.java

    import static org.junit.Assert.assertThat;
    
    import java.util.Iterator;
    import java.util.List;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class MultiIteratorTest {
    
        /**
         *
         */
        @Test
        public void test() {
            final List<String> list1 = asList("Foo", "Bar");
            final List<String> list2 = asList("Baz");
    
            @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. docs_src/query_params_str_validations/tutorial012.py

    from typing import List
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: List[str] = Query(default=["foo", "bar"])):
        query_items = {"q": q}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 217 bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                    logBuildResumeHint(context, "mvn [args] -r");
                } else if (!failedProjects.isEmpty()) {
                    List<MavenProject> sortedProjects = result.getTopologicallySortedProjects();
    
                    // Sort the failedProjects list in the topologically sorted order.
                    failedProjects.sort(comparing(sortedProjects::indexOf));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/apps/v1/generated.proto

      optional string message = 5;
    }
    
    // DeploymentList is a list of Deployments.
    message DeploymentList {
      // Standard list metadata.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    
      // Items is the list of Deployments.
      repeated Deployment items = 2;
    }
    
    // DeploymentSpec is the specification of the desired behavior of the Deployment.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. istioctl/pkg/waypoint/waypoint.go

    	waypointListCmd := &cobra.Command{
    		Use:   "list",
    		Short: "List managed waypoint configurations",
    		Long:  "List managed waypoint configurations in the cluster",
    		Example: `  # List all waypoints in a specific namespace
      istioctl waypoint list --namespace default
    
      # List all waypoints in the cluster
      istioctl waypoint list -A`,
    		RunE: func(cmd *cobra.Command, args []string) error {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top