Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 260 for Home (0.28 sec)

  1. docs/em/docs/tutorial/path-params.md

    , 👆 💪 ⚙️ ⚫️ ⏮️:
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_params/tutorial004.py!}
    ```
    
    !!! tip
        👆 💪 💪 🔢 🔌 `/home/johndoe/myfile.txt`, ⏮️ 🏁 🔪 (`/`).
    
        👈 💼, 📛 🔜: `/files//home/johndoe/myfile.txt`, ⏮️ 2️⃣✖️ 🔪 (`//`) 🖖 `files` & `home`.
    
    ## 🌃
    
    ⏮️ **FastAPI**, ⚙️ 📏, 🏋️ & 🐩 🐍 🆎 📄, 👆 🤚:
    
    * 👨‍🎨 🐕‍🦺: ❌ ✅, ✍, ♒️.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. .github/workflows/people.yml

          - uses: actions/checkout@v4
          # Ref: https://github.com/actions/runner/issues/2033
          - name: Fix git safe.directory in container
            run: mkdir -p /home/runner/work/_temp/_github_home && printf "[safe]\n\tdirectory = /github/workspace" > /home/runner/work/_temp/_github_home/.gitconfig
          # Allow debugging with tmate
          - name: Setup tmate session
            uses: mxschmitt/action-tmate@v3
    Others
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 07:19:41 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  3. docs/tr/docs/tutorial/path-params.md

    ```Python hl_lines="6"
    {!../../../docs_src/path_params/tutorial004.py!}
    ```
    
    !!! tip "İpucu"
        Parametrenin başında `/home/johndoe/myfile.txt` yolunda olduğu gibi (`/`) işareti ile birlikte kullanmanız gerektiği durumlar olabilir.
    
        Bu durumda, URL, `files` ile `home` arasında iki eğik çizgiye (`//`) sahip olup `/files//home/johndoe/myfile.txt` gibi gözükecektir.
    
    ## Özet
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/path-params.md

    したがって、以下の様に使用できます:
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_params/tutorial004.py!}
    ```
    
    !!! tip "豆知識"
        最初のスラッシュ (`/`)が付いている `/home/johndoe/myfile.txt` をパラメータが含んでいる必要があります。
    
        この場合、URLは `files` と `home` の間にダブルスラッシュ (`//`) のある、 `/files//home/johndoe/myfile.txt` になります。
    
    ## まとめ
    
    簡潔で、本質的で、標準的なPythonの型宣言を使用することで、**FastAPI**は以下を行います:
    
    * エディターサポート: エラーチェック、自動補完、など
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_path_params/test_tutorial004.py

    client = TestClient(app)
    
    
    def test_file_path():
        response = client.get("/files/home/johndoe/myfile.txt")
        print(response.content)
        assert response.status_code == 200, response.text
        assert response.json() == {"file_path": "home/johndoe/myfile.txt"}
    
    
    def test_root_file_path():
        response = client.get("/files//home/johndoe/myfile.txt")
        print(response.content)
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/path-params.md

    Digamos que você tenha uma *operação de rota* com uma rota `/files/{file_path}`.
    
    Mas você precisa que o próprio `file_path` contenha uma *rota*, como `home/johndoe/myfile.txt`.
    
    Então, a URL para este arquivo deveria ser algo como: `/files/home/johndoe/myfile.txt`.
    
    ### Suporte do OpenAPI
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/path-params.md

    ```Python hl_lines="6"
    {!../../../docs_src/path_params/tutorial004.py!}
    ```
    
    !!! tip "Consejo"
        Podrías necesitar que el parámetro contenga `/home/johndoe/myfile.txt` con un slash inicial (`/`).
    
        En este caso la URL sería `/files//home/johndoe/myfile.txt` con un slash doble (`//`) entre `files` y `home`.
    
    ## Repaso
    
    Con **FastAPI**, usando declaraciones de tipo de Python intuitivas y estándares, obtienes:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  8. docs/zh/docs/advanced/generate-clients.md

        "typescript": "^4.6.2"
      }
    }
    ```
    
    在这里添加 NPM `generate-client` 脚本后,您可以使用以下命令运行它:
    
    <div class="termy">
    
    ```console
    $ npm run generate-client
    
    frontend-app@1.0.0 generate-client /home/user/code/frontend-app
    > openapi-ts --input http://localhost:8000/openapi.json --output ./src/client --client axios
    ```
    
    </div>
    
    此命令将在 `./src/client` 中生成代码,并将在其内部使用 `axios`(前端HTTP库)。
    
    ### 尝试客户端代码
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Apr 03 03:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/path-params.md

    따라서 다음과 같이 사용할 수 있습니다:
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_params/tutorial004.py!}
    ```
    
    !!! tip "팁"
        매개변수가 가져야 하는 값이 `/home/johndoe/myfile.txt`와 같이 슬래시로 시작(`/`)해야 할 수 있습니다.
    
        이 경우 URL은: `/files//home/johndoe/myfile.txt`이며 `files`과 `home` 사이에 이중 슬래시(`//`)가 생깁니다.
    
    ## 요약
    
    **FastAPI**를 이용하면 짧고 직관적인 표준 파이썬 타입 선언을 사용하여 다음을 얻을 수 있습니다:
    
    * 편집기 지원: 오류 검사, 자동완성 등
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  10. docs/em/docs/advanced/behind-a-proxy.md

    &amp; ⤴️ ⚫️ 🔜 ❎ 🚮 📨 👆 Uvicorn 🏃‍♂ 🔛 `http://127.0.0.1:8000`.
    
    🔜 ▶️ Traefik:
    
    <div class="termy">
    
    ```console
    $ ./traefik --configFile=traefik.toml
    
    INFO[0000] Configuration loaded from file: /home/user/awesomeapi/traefik.toml
    ```
    
    </div>
    
    &amp; 🔜 ▶️ 👆 📱 ⏮️ Uvicorn, ⚙️ `--root-path` 🎛:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --root-path /api/v1
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.1K bytes
    - Viewed (0)
Back to top