Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 130 for run (0.39 sec)

  1. docs/ja/docs/tutorial/debugging.md

    なので、以下:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    は実行されます。
    
    ---
    
    そのモジュール (ファイル) をインポートした場合は、こうはなりません。
    
    したがって、次のようなもう一つのファイル `importer.py` がある場合:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    
    `myapp.py` 内の自動変数には、値が `"__main __"` の変数 `__name__` はありません。
    
    したがって、以下の行:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    は実行されません。
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 07 17:25:31 GMT 2021
    - 3K bytes
    - Viewed (0)
  2. .github/workflows/issue-manager.yml

    jobs:
      issue-manager:
        if: github.repository_owner == 'tiangolo'
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: tiangolo/issue-manager@0.5.0
            with:
              token: ${{ secrets.FASTAPI_ISSUE_MANAGER }}
              config: >
                {
                  "answered": {
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 30 18:46:56 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  3. docs/de/docs/deployment/docker.md

    # (2)
    WORKDIR /tmp
    
    # (3)
    RUN pip install poetry
    
    # (4)
    COPY ./pyproject.toml ./poetry.lock* /tmp/
    
    # (5)
    RUN poetry export -f requirements.txt --output requirements.txt --without-hashes
    
    # (6)
    FROM python:3.9
    
    # (7)
    WORKDIR /code
    
    # (8)
    COPY --from=requirements-stage /tmp/requirements.txt /code/requirements.txt
    
    # (9)
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:19:17 GMT 2024
    - 38.9K bytes
    - Viewed (0)
  4. docs/pt/docs/deployment/docker.md

    # (2)
    WORKDIR /tmp
    
    # (3)
    RUN pip install poetry
    
    # (4)
    COPY ./pyproject.toml ./poetry.lock* /tmp/
    
    # (5)
    RUN poetry export -f requirements.txt --output requirements.txt --without-hashes
    
    # (6)
    FROM python:3.9
    
    # (7)
    WORKDIR /code
    
    # (8)
    COPY --from=requirements-stage /tmp/requirements.txt /code/requirements.txt
    
    # (9)
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  5. README.md

    <a href="https://platform.sh/try-it-now/?utm_source=fastapi-signup&utm_medium=banner&utm_campaign=FastAPI-signup-June-2023" target="_blank" title="Build, run and scale your apps on a modern, reliable, and secure PaaS."><img src="https://fastapi.tiangolo.com/img/sponsors/platform-sh.png"></a>
    <a href="https://www.porter.run" target="_blank" title="Deploy FastAPI on AWS with a few clicks"><img src="https://fastapi.tiangolo.com/img/sponsors/porter.png"></a>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/wsgi.md

    {!../../../docs_src/wsgi/tutorial001.py!}
    ```
    
    ## Check it
    
    Now, every request under the path `/v1/` will be handled by the Flask application.
    
    And the rest will be handled by **FastAPI**.
    
    If you run it and go to <a href="http://localhost:8000/v1/" class="external-link" target="_blank">http://localhost:8000/v1/</a> you will see the response from Flask:
    
    ```txt
    Hello, World from Flask!
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  7. docs/em/docs/deployment/docker.md

    # (2)
    WORKDIR /tmp
    
    # (3)
    RUN pip install poetry
    
    # (4)
    COPY ./pyproject.toml ./poetry.lock* /tmp/
    
    # (5)
    RUN poetry export -f requirements.txt --output requirements.txt --without-hashes
    
    # (6)
    FROM python:3.9
    
    # (7)
    WORKDIR /code
    
    # (8)
    COPY --from=requirements-stage /tmp/requirements.txt /code/requirements.txt
    
    # (9)
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 27.9K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md

        client ->> dep: Start request
        Note over dep: Run code up to yield
        opt raise
            dep -->> handler: Raise HTTPException
            handler -->> client: HTTP error response
            dep -->> dep: Raise other exception
        end
        dep ->> operation: Run dependency, e.g. DB session
        opt raise
            operation -->> handler: Raise HTTPException
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  9. fastapi/openapi/models.py

                    "To install, run: pip install email-validator"
                )
                return str(v)
    
            @classmethod
            def _validate(cls, __input_value: Any, _: Any) -> str:
                logger.warning(
                    "email-validator not installed, email fields will be treated as str.\n"
                    "To install, run: pip install email-validator"
                )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 22:49:33 GMT 2024
    - 15K bytes
    - Viewed (1)
  10. .github/DISCUSSION_TEMPLATE/questions.yml

          description: |
            Please add a self-contained, [minimal, reproducible, example](https://stackoverflow.com/help/minimal-reproducible-example) with your use case.
    
            If I (or someone) can copy it, run it, and see it right away, there's a much higher chance I (or someone) will be able to help you.
    
          placeholder: |
            from fastapi import FastAPI
    
            app = FastAPI()
    
    
            @app.get("/")
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Aug 03 15:59:41 GMT 2023
    - 5.8K bytes
    - Viewed (1)
Back to top