Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 873 for Python (0.05 sec)

  1. docs/ko/docs/advanced/events.md

    응용 프로그램을 시작하기 전에 실행하려는 함수를 "startup" 이벤트로 선언합니다:
    
    ```Python hl_lines="8"
    {!../../docs_src/events/tutorial001.py!}
    ```
    
    이 경우 `startup` 이벤트 핸들러 함수는 단순히 몇 가지 값으로 구성된 `dict` 형식의 "데이터베이스"를 초기화합니다.
    
    하나 이상의 이벤트 핸들러 함수를 추가할 수도 있습니다.
    
    그리고 응용 프로그램은 모든 `startup` 이벤트 핸들러가 완료될 때까지 요청을 받지 않습니다.
    
    ## `shutdown` 이벤트
    
    응용 프로그램이 종료될 때 실행하려는 함수를 추가하려면 `"shutdown"` 이벤트로 선언합니다:
    
    ```Python hl_lines="6"
    {!../../docs_src/events/tutorial002.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. docs/ja/docs/project-generation.md

    ### フルスタック FastAPI PostgreSQL - 機能
    
    * 完全な**Docker**インテグレーション (Dockerベース)。
    * Docker Swarm モードデプロイ。
    * ローカル開発環境向けの**Docker Compose**インテグレーションと最適化。
    * UvicornとGunicornを使用した**リリース可能な** Python web サーバ。
    * Python <a href="https://github.com/fastapi/fastapi" class="external-link" target="_blank">**FastAPI**</a> バックエンド:
        * **高速**: **NodeJS** や **Go** 並みのとても高いパフォーマンス (Starlette と Pydantic のおかげ)。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/dependencies/global-dependencies.md

    # 🌐 🔗
    
    🆎 🈸 👆 💪 💚 🚮 🔗 🎂 🈸.
    
    🎏 🌌 👆 💪 [🚮 `dependencies` *➡ 🛠️ 👨‍🎨*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank}, 👆 💪 🚮 👫 `FastAPI` 🈸.
    
    👈 💼, 👫 🔜 ✔ 🌐 *➡ 🛠️* 🈸:
    
    ```Python hl_lines="15"
    {!../../docs_src/dependencies/tutorial012.py!}
    ```
    
    &amp; 🌐 💭 📄 🔃 [❎ `dependencies` *➡ 🛠️ 👨‍🎨*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank} ✔, ✋️ 👉 💼, 🌐 *➡ 🛠️* 📱.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 825 bytes
    - Viewed (0)
  4. ci/official/utilities/convert_msys_paths_to_win_paths.py

        if not value or not should_convert(var,
                                           parsed_args.blacklist,
                                           parsed_args.whitelist_prefix):
          continue
    
        # In Python, MSYS, Linux-like paths are automatically read as Windows paths
        # with forward slashes, e.g. 'C:/Program Files', instead of
        # '/c/Program Files', thus becoming converted simply by virtue of having
        # been read.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Aug 07 23:01:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. docs/de/docs/deployment/docker.md

    Beispielsweise gibt es ein offizielles <a href="https://hub.docker.com/_/python" class="external-link" target="_blank">Python-Image</a>.
    
    Und es gibt viele andere Images für verschiedene Dinge wie Datenbanken, zum Beispiel für:
    
    * <a href="https://hub.docker.com/_/postgres" class="external-link" target="_blank">PostgreSQL</a>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 39K bytes
    - Viewed (0)
  6. docs/ja/docs/deployment/server-workers.md

    ```
    
    </div>
    
    それぞれのオプションの意味を見てみましょう:
    
    * `main:app`: `main`は"`main`"という名前のPythonモジュール、つまりファイル`main.py`を意味します。そして `app` は **FastAPI** アプリケーションの変数名です。
        * main:app`はPythonの`import`文と同じようなものだと想像できます:
    
            ```Python
            from main import app
            ```
    
        * つまり、`main:app`のコロンは、`from main import app`のPythonの`import`の部分と同じになります。
    
    * `--workers`: 使用するワーカー・プロセスの数で、それぞれがUvicornのワーカーを実行します。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. configure.py

      """Get the python major version."""
      return run_shell([python_bin_path, '-c', 'import sys; print(sys.version[0])'])
    
    
    def setup_python(environ_cp):
      """Setup python related env variables."""
      # Get PYTHON_BIN_PATH, default is the current running python.
      default_python_bin_path = sys.executable
      ask_python_bin_path = ('Please specify the location of python. [Default is '
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 48.2K bytes
    - Viewed (0)
  8. docs/tr/docs/advanced/index.md

    Onların kurslarını denemek isteyebilirsiniz:
    
    * <a href="https://training.talkpython.fm/fastapi-courses" class="external-link" target="_blank">Talk Python Training</a>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. .gitignore

    .pydevproject
    #Vagrant
    tools/vagrant/.vagrant/
    # Intellij
    *.iml
    .idea/
    .run/
    # Visual Studio Code
    .vscode/
    # Bazel
    /bazel-*
    # vi swap files
    .*.swp
    # vi backups
    *.bak
    # common backups
    *~
    # python artifacts
    *.pyc
    # pilot
    pilot/pkg/kube/config
    pilot/pkg/proxy/envoy/envoy
    # lint
    lintconfig.gen.json
    .istiorc
    .istiorc.mk
    # codegen stuff
    bin/adapterlinter
    bin/protoc-gen-gogoslick*
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue May 21 21:20:01 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. docs/en/docs/reference/response.md

    You can also use it directly to create an instance of it and return it from your *path operations*.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Response
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 397 bytes
    - Viewed (0)
Back to top