Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for dir (0.15 sec)

  1. docs/ru/docs/deployment/docker.md

    4. Установите библиотеки перечисленные в файле с зависимостями.
    
        Опция `--no-cache-dir` указывает `pip` не сохранять загружаемые библиотеки на локальной машине для использования их в случае повторной загрузки. В контейнере, в случае пересборки этого шага, они всё равно будут удалены.
    
        !!! note "Заметка"
            Опция `--no-cache-dir` нужна только для `pip`, она никак не влияет на Docker или контейнеры.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  2. docs/az/docs/fastapi-people.md

    ## Ən çox rəy verənlər
    
    Bu istifadəçilər **ən çox rəy verənlər**dir.
    
    ### Tərcümələr üçün rəylər
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. docs/ko/docs/deployment/docker.md

    4. 요구 조건 파일에 있는 패키지 종속성을 설치합니다.
    
        `--no-cache-dir` 옵션은 `pip`에게 다운로드한 패키지들을 로컬 환경에 저장하지 않도록 전달합니다. 이는 마치 같은 패키지를 설치하기 위해 오직 `pip`만 다시 실행하면 될 것 같지만, 컨테이너로 작업하는 경우 그렇지는 않습니다.
    
        !!! note "노트"
            `--no-cache-dir` 는 오직 `pip`와 관련되어 있으며, 도커나 컨테이너와는 무관합니다.
    
        `--upgrade` 옵션은 `pip`에게 설치된 패키지들을 업데이트하도록 합니다.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py

    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(scope="module")
    def client():
        static_dir: Path = Path(os.getcwd()) / "static"
        print(static_dir)
        static_dir.mkdir(exist_ok=True)
        from docs_src.custom_docs_ui.tutorial002 import app
    
        with TestClient(app) as client:
            yield client
        static_dir.rmdir()
    
    
    def test_swagger_ui_html(client: TestClient):
        response = client.get("/docs")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py

    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(scope="module")
    def client():
        static_dir: Path = Path(os.getcwd()) / "static"
        print(static_dir)
        static_dir.mkdir(exist_ok=True)
        from docs_src.custom_docs_ui.tutorial001 import app
    
        with TestClient(app) as client:
            yield client
        static_dir.rmdir()
    
    
    def test_swagger_ui_html(client: TestClient):
        response = client.get("/docs")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  6. scripts/mkdocs_hooks.py

        item_path = Path(config.docs_dir) / item
        if not item_path.is_file():
            en_src_dir = (Path(config.docs_dir) / "../../en/docs").resolve()
            potential_path = en_src_dir / item
            if potential_path.is_file():
                files.append(
                    EnFile(
                        path=item,
                        src_dir=str(en_src_dir),
                        dest_dir=config.site_dir,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  7. scripts/docs.py

            shutil.rmtree(dist_path, ignore_errors=True)
        current_dir = os.getcwd()
        os.chdir(lang_path)
        shutil.rmtree(build_site_dist_path, ignore_errors=True)
        subprocess.run(["mkdocs", "build", "--site-dir", build_site_dist_path], check=True)
        shutil.copytree(build_site_dist_path, dist_path, dirs_exist_ok=True)
        os.chdir(current_dir)
        typer.secho(f"Successfully built docs for: {lang}", color=typer.colors.GREEN)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 22 19:26:14 GMT 2024
    - 10.9K bytes
    - Viewed (1)
  8. docs/he/docs/index.md

    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    כבר יצרתם API ש:
    
    -   מקבל בקשות HTTP בנתיבים `/` ו - <code dir="ltr">/items/{item_id}</code>.
    -   שני ה _נתיבים_ מקבלים _בקשות_ `GET` (ידועות גם כ*מתודות* HTTP).
    -   ה _נתיב_ <code dir="ltr">/items/{item_id}</code> כולל \*פרמטר נתיב\_ `item_id` שאמור להיות `int`.
    -   ה _נתיב_ <code dir="ltr">/items/{item_id}</code> \*פרמטר שאילתא\_ אופציונלי `q`.
    
    ### תיעוד API אינטרקטיבי
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  9. docs/zh/docs/deployment/docker.md

         首先仅复制requirements.txt文件,而不复制其余代码。
    
         由于此文件**不经常更改**,Docker 将检测到它并在这一步中使用**缓存**,从而为下一步启用缓存。
    
    4. 安装需求文件中的包依赖项。
    
         `--no-cache-dir` 选项告诉 `pip` 不要在本地保存下载的包,因为只有当 `pip` 再次运行以安装相同的包时才会这样,但在与容器一起工作时情况并非如此。
    
         !!! note "笔记"
             `--no-cache-dir` 仅与 `pip` 相关,与 Docker 或容器无关。
    
         `--upgrade` 选项告诉 `pip` 升级软件包(如果已经安装)。
    
         因为上一步复制文件可以被 **Docker 缓存** 检测到,所以此步骤也将 **使用 Docker 缓存**(如果可用)。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 31.2K bytes
    - Viewed (0)
  10. docs/en/mkdocs.insiders.yml

    plugins:
      social:
        cards_layout_dir: ../en/layouts
        cards_layout: custom
        cards_layout_options:
          logo: ../en/docs/img/icon-white.svg
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Apr 19 00:56:59 GMT 2024
    - 159 bytes
    - Viewed (0)
Back to top