Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 840 for MAIN (0.05 sec)

  1. ci/official/utilities/convert_msys_paths_to_win_paths.py

        return False
      if not whitelist_prefix:
        return True
    
      for prefix in whitelist_prefix:
        if var_name.startswith(prefix):
          return True
      return False
    
    
    def main(parsed_args: argparse.Namespace):
      converted_vars = {}
    
      for var, value in os.environ.items():
        if not value or not should_convert(var,
                                           parsed_args.blacklist,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Aug 07 23:01:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. docs/en/docs/deployment/docker.md

    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)!
    COPY ./main.py /code/
    
    # (2)!
    CMD ["fastapi", "run", "main.py", "--port", "80"]
    ```
    
    1. Copy the `main.py` file to the `/code` directory directly (without any `./app` directory).
    
    2. Use `fastapi run` to serve your application in the single file `main.py`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Sep 18 16:09:57 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/orig/view/help.jsp

    	rel="stylesheet" type="text/css" />
    </head>
    <body>
    	<jsp:include page="header.jsp" />
    	<main class="container">
    		<div class="row">
    			<div class="col">
    
    				<jsp:include page="${helpPage}" />
    
    			</div>
    		</div>
    		<div class="text-right">
    			<a href="#"><la:message key="labels.footer_back_to_top" /></a>
    		</div>
    	</main>
    	<jsp:include page="footer.jsp" />
    	<input type="hidden" id="contextPath" value="${contextPath}" />
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. buildscripts/resolve-right-versions.sh

    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	"${WORK_DIR}/mc" stat minio/bucket/testobj
    
    	pkill minio
    	sleep 3
    }
    
    function main() {
    	start_port=$(shuf -i 10000-65000 -n 1)
    
    	start_minio_5drive ${start_port}
    }
    
    function purge() {
    	rm -rf "$1"
    }
    
    (main "$@")
    rv=$?
    purge "$WORK_DIR"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 16 14:51:33 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. ci/official/containers/ml_build/setup.sources.sh

    # More Python versions: Deadsnakes
    deb http://ppa.launchpad.net/deadsnakes/ppa/ubuntu jammy main
    deb-src http://ppa.launchpad.net/deadsnakes/ppa/ubuntu jammy main
    
    # LLVM/Clang repository
    deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main
    deb-src http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 03 21:13:05 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. tests/test_router_events.py

    @pytest.mark.filterwarnings(
        r"ignore:\s*on_event is deprecated, use lifespan event handlers instead.*:DeprecationWarning"
    )
    def test_router_events(state: State) -> None:
        app = FastAPI()
    
        @app.get("/")
        def main() -> Dict[str, str]:
            return {"message": "Hello World"}
    
        @app.on_event("startup")
        def app_startup() -> None:
            state.app_startup = True
    
        @app.on_event("shutdown")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 24 19:09:52 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. .github/workflows/CheckBadMerge.groovy

            "subprojects/docs/src/docs/release/notes.md",
            "platforms/documentation/docs/src/docs/release/notes.md",
            "subprojects/launcher/src/main/resources/release-features.txt",
            "platforms/core-runtime/launcher/src/main/resources/release-features.txt"
        ]
    
        static void main(String[] commits) {
            println("Commits to check: ${Arrays.toString(commits)}")
            try {
                commits.each { checkCommit(it) }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 19 10:35:44 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  8. src/main/webapp/css/admin/adminlte.min.css

    .nav-link>.fab,.main-header.text-sm .nav-link>.fad,.main-header.text-sm .nav-link>.fal,.main-header.text-sm .nav-link>.far,.main-header.text-sm .nav-link>.fas,.main-header.text-sm .nav-link>.ion,.main-header.text-sm .nav-link>.svg-inline--fa,.text-sm .main-header .nav-link>.fa,.text-sm .main-header .nav-link>.fab,.text-sm .main-header .nav-link>.fad,.text-sm .main-header .nav-link>.fal,.text-sm .main-header .nav-link>.far,.text-sm .main-header .nav-link>.fas,.text-sm .main-header .nav-link>.ion,.text-sm...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 1.3M bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    /// note | "Технические детали"
    
    Команда `uvicorn main:app` обращается к:
    
    * `main`: файл `main.py` (модуль Python).
    * `app`: объект, созданный внутри файла `main.py` в строке `app = FastAPI()`.
    * `--reload`: перезапускает сервер после изменения кода. Используйте только для разработки.
    
    ///
    
    В окне вывода появится следующая строка:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. native-image-tests/src/main/kotlin/okhttp3/GenerateClassList.kt

      )
    
    /**
     * Run periodically to refresh the known set of working tests.
     *
     * TODO use filtering to allow skipping acceptable problem tests
     */
    fun main() {
      val knownTestFile = File("native-image-tests/src/main/resources/testlist.txt")
      val testSelector = DiscoverySelectors.selectPackage("okhttp3")
      val testClasses =
        findTests(listOf(testSelector))
          .filter { it.isContainer }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top