Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 1,097 for Files (0.04 sec)

  1. fastapi/datastructures.py

        needed for non-async code.
    
        Read more about it in the
        [FastAPI docs for Request Files](https://fastapi.tiangolo.com/tutorial/request-files/).
    
        ## Example
    
        ```python
        from typing import Annotated
    
        from fastapi import FastAPI, File, UploadFile
    
        app = FastAPI()
    
    
        @app.post("/files/")
        async def create_file(file: Annotated[bytes, File()]):
            return {"file_size": len(file)}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. doc/next/7-ports.md

    ## Ports {#ports}
    
    ### Linux {#linux}
    
    As [announced](go1.23#linux) in the Go 1.23 release notes, Go 1.24 requires Linux
    kernel version 3.2 or later.
    
    ### WebAssembly {#wasm}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 23 19:37:35 UTC 2024
    - 258 bytes
    - Viewed (0)
  3. ci/official/utilities/code_check_full.bats

                echo "Broken links found:"
                cat errors.txt
                rm errors.txt
                false
            fi
        done
    }
    
    @test "No duplicate files on Windows" {
        cat <<EOF
    Please rename files so there are no repeats. For example, README.md and
    Readme.md would be the same file on Windows. In this test, you would get a
    warning for "readme.md" because it makes everything lowercase. There are
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 23 18:48:35 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

    import javax.inject.Singleton;
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    import java.nio.file.Files;
    import java.util.Map;
    import java.util.Objects;
    
    import org.apache.maven.artifact.repository.metadata.Metadata;
    import org.apache.maven.metadata.v4.MetadataStaxReader;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. scripts/deploy_docs_status.py

            return
        current_commit.create_status(
            state="success",
            description="Docs Deployed",
            context="deploy-docs",
            target_url=run_url,
        )
    
        files = list(use_pr.get_files())
        docs_files = [f for f in files if f.filename.startswith("docs/")]
    
        deploy_url = settings.deploy_url.rstrip("/")
        lang_links: dict[str, list[str]] = {}
        for f in docs_files:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 09 15:52:41 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. cmd/fmt-gen.go

    		Usage:  "bind to a specific ADDRESS:PORT, ADDRESS can be an IP or hostname",
    		EnvVar: "MINIO_ADDRESS",
    	},
    }
    
    var fmtGenCmd = cli.Command{
    	Name:   "fmt-gen",
    	Usage:  "Generate format.json files for an erasure server pool",
    	Flags:  append(fmtGenFlags, GlobalFlags...),
    	Action: fmtGenMain,
    	Hidden: true,
    	CustomHelpTemplate: `NAME:
      {{.HelpName}} - {{.Usage}}
    
    USAGE:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/MediaType.java

       * used for Web Video Text Tracks (WebVTT) files, used with the HTML5 track element.
       *
       * @since 20.0
       */
      public static final MediaType VTT_UTF_8 = createConstantUtf8(TEXT_TYPE, "vtt");
    
      /* image types */
      /**
       * <a href="https://en.wikipedia.org/wiki/BMP_file_format">Bitmap file format</a> ({@code bmp}
       * files).
       *
       * @since 13.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  8. docs_src/request_files/tutorial001_03_an.py

    from fastapi import FastAPI, File, UploadFile
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(file: Annotated[bytes, File(description="A file read as bytes")]):
        return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(
        file: Annotated[UploadFile, File(description="A file read as UploadFile")],
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 431 bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java

    import javax.inject.Singleton;
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.io.Writer;
    import java.nio.file.Files;
    import java.util.Map;
    import java.util.Objects;
    
    import org.apache.maven.settings.Settings;
    import org.apache.maven.settings.v4.SettingsStaxWriter;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

    import org.gradle.api.tasks.PathSensitivity;
    import org.gradle.api.tasks.TaskAction;
    
    import javax.inject.Inject;
    import java.io.File;
    import java.io.IOException;
    import java.io.UncheckedIOException;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.StandardOpenOption;
    import java.util.Collections;
    
    @CacheableTask
    public abstract class GenerateDocInfo extends DefaultTask {
        @InputFiles
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 28 06:35:34 UTC 2021
    - 2.9K bytes
    - Viewed (0)
Back to top