Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 3,156 for file2 (0.03 sec)

  1. docs_src/request_files/tutorial001_02_an_py310.py

    from fastapi import FastAPI, File, UploadFile
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(file: Annotated[bytes | None, File()] = None):
        if not file:
            return {"message": "No file sent"}
        else:
            return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(file: UploadFile | None = None):
        if not file:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 505 bytes
    - Viewed (0)
  2. LICENSES/vendor/bitbucket.org/bertimus9/systemstat/LICENSE

    The MIT License (MIT)
    
    Copyright (c) 2013 Phillip Bond
    
    Permission is hereby granted, free of charge, to any person obtaining a copy of
    this software and associated documentation files (the "Software"), to deal in
    the Software without restriction, including without limitation the rights to
    use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Fri May 08 04:49:00 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  3. LICENSES/vendor/github.com/Azure/go-ansiterm/LICENSE

    The MIT License (MIT)
    
    Copyright (c) 2015 Microsoft Corporation
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Fri May 08 04:49:00 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  4. LICENSES/vendor/github.com/asaskevich/govalidator/LICENSE

    The MIT License (MIT)
    
    Copyright (c) 2014 Alex Saskevich
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Fri May 08 04:49:00 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  5. LICENSES/vendor/github.com/cilium/ebpf/LICENSE

    Copyright (c) 2017 Nathan Sweet
    Copyright (c) 2018, 2019 Cloudflare
    Copyright (c) 2019 Authors of Cilium
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Fri May 08 04:49:00 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/dependencies/global-dependencies.md

    ## Dependências para conjuntos de *operações de rota*
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. cmd/benchmark-utils_test.go

    	objLayer, disks, err := prepareTestBackend(ctx, instanceType)
    	if err != nil {
    		b.Fatalf("Failed obtaining Temp Backend: <ERROR> %s", err)
    	}
    	// cleaning up the backend by removing all the directories and files created on function return.
    	defer removeRoots(disks)
    
    	// uses *testing.B and the object Layer to run the benchmark.
    	runPutObjectPartBenchmark(b, objLayer, objSize)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

     * under the License.
     */
    package org.apache.maven.internal.transformation.impl;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Objects;
    import java.util.stream.Collectors;
    
    import org.apache.maven.api.SessionData;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. go.env

    # This file contains the initial defaults for go command configuration.
    # Values set by 'go env -w' and written to the user's go/env file override these.
    # The environment overrides everything else.
    
    # Use the Go module mirror and checksum database by default.
    # See https://proxy.golang.org for details.
    GOPROXY=https://proxy.golang.org,direct
    GOSUMDB=sum.golang.org
    
    # Automatically download newer toolchains as directed by go.mod files.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 06 19:18:46 UTC 2023
    - 505 bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/path-params.md

    クライアントは以下の様なJSONレスポンスを得ます:
    
    ```JSON
    {
      "model_name": "alexnet",
      "message": "Deep Learning FTW!"
    }
    ```
    
    ## パスを含んだパスパラメータ
    
    パス `/files/{file_path}` となる *path operation* を持っているとしましょう。
    
    ただし、 `home/johndoe/myfile.txt` のような*パス*を含んだ `file_path` が必要です。
    
    したがって、URLは `/files/home/johndoe/myfile.txt` の様になります。
    
    ### OpenAPIサポート
    
    OpenAPIはテストや定義が困難なシナリオにつながる可能性があるため、内部に*パス*を含む*パスパラメータ*の宣言をサポートしていません。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top