Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 773 for rain (0.09 sec)

  1. docs/zh/docs/deployment/docker.md

    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)
    COPY ./main.py /code/
    
    # (2)
    CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    1. 直接将`main.py`文件复制到`/code`目录中(不包含任何`./app`目录)。
    
    2. 运行 Uvicorn 并告诉它从 `main` 导入 `app` 对象(而不是从 `app.main` 导入)。
    
    然后调整Uvicorn命令使用新模块`main`而不是`app.main`来导入FastAPI 实例`app`。
    
    ## 部署概念
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  2. docs/tr/docs/index.md

    </div>
    
    <details markdown="1">
    <summary><code>uvicorn main:app --reload</code> komutuyla ilgili...</summary>
    
    `uvicorn main:app` komutunu şu şekilde açıklayabiliriz:
    
    * `main`: dosya olan `main.py` (yani Python "modülü").
    * `app`: ise `main.py` dosyasının içerisinde `app = FastAPI()` satırında oluşturduğumuz `FastAPI` nesnesi.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 16 16:50:01 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java

          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PostMultipart().run();
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jun 24 12:59:42 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  4. docs/tuning/tuned.conf

    [main]
    summary=Maximum server performance for MinIO
    
    [vm]
    transparent_hugepage=madvise
    
    [sysfs]
    /sys/kernel/mm/transparent_hugepage/defrag=defer+madvise
    /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none=0
    
    [cpu]
    force_latency=1
    governor=performance
    energy_perf_bias=performance
    min_perf_pct=100
    
    [sysctl]
    fs.xfs.xfssyncd_centisecs=72000
    net.core.busy_read=50
    net.core.busy_poll=50
    kernel.numa_balancing=1
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 23:31:18 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. buildscripts/minio-upgrade.sh

    	curl -s http://127.0.0.1:9000/minio-test/to-read/hosts | sha256sum
    
    	MINIO_VERSION=dev /tmp/gopath/bin/docker-compose -f "buildscripts/upgrade-tests/compose.yml" stop
    }
    
    main() {
    	MINIO_VERSION=dev /tmp/gopath/bin/docker-compose -f "buildscripts/upgrade-tests/compose.yml" up -d --build
    
    	add_alias
    
    	verify_checksum_after_heal minio/minio-test http://127.0.0.1:9000/minio-test/to-read/hosts
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. buildscripts/multipart-quorum-test.sh

    	if [ $rv -eq 0 ]; then
    		echo "Failed to receive an error"
    		exit 1
    	fi
    	echo "Received an error during complete-multipart as expected: $err"
    }
    
    function main() {
    	start_port=$(shuf -i 10000-65000 -n 1)
    	start_minio_10drive ${start_port}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 10:51:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

        String MAVEN_PLUGIN = "maven-plugin";
    
        /**
         * Artifact type name for a JAR file containing test classes. If the main artifact is placed on the class-path
         * ({@value #JAR} or {@value #CLASSPATH_JAR} types), then the test artifact will also be placed on the class-path.
         * Otherwise, if the main artifact is placed on the module-path ({@value #JAR} or {@value #MODULAR_JAR} types),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. docs_src/request_files/tutorial003_py39.py

    @app.post("/uploadfiles/")
    async def create_upload_files(
        files: list[UploadFile] = File(description="Multiple files as UploadFile"),
    ):
        return {"filenames": [file.filename for file in files]}
    
    
    @app.get("/")
    async def main():
        content = """
    <body>
    <form action="/files/" enctype="multipart/form-data" method="post">
    <input name="files" type="file" multiple>
    <input type="submit">
    </form>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 888 bytes
    - Viewed (0)
  9. docs_src/async_tests/test_main.py

    import pytest
    from httpx import ASGITransport, AsyncClient
    
    from .main import app
    
    
    @pytest.mark.anyio
    async def test_root():
        async with AsyncClient(
            transport=ASGITransport(app=app), base_url="http://test"
        ) as ac:
            response = await ac.get("/")
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 30 16:00:41 UTC 2024
    - 360 bytes
    - Viewed (0)
  10. build.gradle.kts

        toolVersion = rootProject.libs.versions.checkStyle.get()
        sourceSets = listOf(project.sourceSets["main"])
      }
    
      // Animal Sniffer confirms we generally don't use APIs not on Java 8.
      configure<AnimalSnifferExtension> {
        annotation = "okhttp3.internal.SuppressSignatureCheck"
        sourceSets = listOf(project.sourceSets["main"])
      }
    
      val signature: Configuration by configurations.getting
      dependencies {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jun 23 17:02:02 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top