Search Options

Results per page
Sort
Preferred Languages
Advance

Results 851 - 860 of 2,708 for most (0.03 sec)

  1. docs_src/request_files/tutorial001_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()]):
        return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(file: UploadFile):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 332 bytes
    - Viewed (0)
  2. docs_src/request_files/tutorial003_an_py39.py

    from fastapi import FastAPI, File, UploadFile
    from fastapi.responses import HTMLResponse
    
    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(
        files: Annotated[
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 952 bytes
    - Viewed (0)
  3. gradlew

    MAX_FD=maximum
    
    warn () {
        echo "$*"
    } >&2
    
    die () {
        echo
        echo "$*"
        echo
        exit 1
    } >&2
    
    # OS specific support (must be 'true' or 'false').
    cygwin=false
    msys=false
    darwin=false
    nonstop=false
    case "$( uname )" in                #(
      CYGWIN* )         cygwin=true  ;; #(
      Darwin* )         darwin=true  ;; #(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 24 09:00:26 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. docs/batch-jobs/README.md

    ## Replication Job
    To perform replication via batch jobs, you create a job. The job consists of a job description YAML that describes
    
    - Source location from where the objects must be copied from
    - Target location from where the objects must be copied to
    - Fine grained filtering is available to pick relevant objects from source to copy from
    
    MinIO batch jobs framework also provides
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 06 06:00:43 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py

    
    @pytest.fixture(name="client")
    def get_client(app: FastAPI):
        client = TestClient(app)
        return client
    
    
    @needs_py39
    def test_post_form_no_body(client: TestClient):
        response = client.post("/files/")
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "missing",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/ProfileActivator.java

         *
         * @param profile The profile whose activation status should be determined, must not be {@code null}.
         * @param context The environmental context used to determine the activation status of the profile, must not be
         *            {@code null}.
         * @param problems The container used to collect problems (e.g. bad syntax) that were encountered, must not be
         *            {@code null}.
    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. internal/http/check_port_linux.go

    package http
    
    import (
    	"context"
    	"net"
    	"syscall"
    	"time"
    )
    
    // CheckPortAvailability - check if given host and port is already in use.
    // Note: The check method tries to listen on given port and closes it.
    // It is possible to have a disconnected client in this tiny window of time.
    func CheckPortAvailability(host, port string, opts TCPOptions) (err error) {
    	lc := &net.ListenConfig{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 03 21:12:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. src/main/resources/fess_message.properties

    constraints.Future.message      = {item} must be in the future.
    constraints.Max.message         = {item} must be less than or equal to {value}.
    constraints.Min.message         = {item} must be greater than or equal to {value}.
    constraints.NotNull.message     = {item} may not be null.
    constraints.Null.message        = {item} must be null.
    constraints.Past.message        = {item} must be in the past.
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Mar 18 03:05:44 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  9. src/main/resources/fess_message_en.properties

    constraints.Future.message      = {item} must be in the future.
    constraints.Max.message         = {item} must be less than or equal to {value}.
    constraints.Min.message         = {item} must be greater than or equal to {value}.
    constraints.NotNull.message     = {item} may not be null.
    constraints.Null.message        = {item} must be null.
    constraints.Past.message        = {item} must be in the past.
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Mar 18 03:05:44 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

                    "Child SCM developer connection is: " + project1.getScm().getDeveloperConnection());
    
            assertEquals("http://host/viewer?path=/p0/modules/p1", project1.getScm().getUrl());
            assertEquals("scm:svn:http://host/p0/modules/p1", project1.getScm().getConnection());
            assertEquals("scm:svn:https://host/p0/modules/p1", project1.getScm().getDeveloperConnection());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top