Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 874 for Pythons (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. .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)
  5. 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)
  6. docs/fr/docs/tutorial/path-params-numeric-validations.md

    * déclarer le paramètre de chemin `item_id` en utilisant `Path`
    * les avoir dans un ordre différent
    * ne pas utiliser `Annotated`
    
    ...Python a une petite syntaxe spéciale pour cela.
    
    Passez `*`, comme premier paramètre de la fonction.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:32:37 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. .github/dependabot.yml

    version: 2
    updates:
      # GitHub Actions
      - package-ecosystem: "github-actions"
        directory: "/"
        schedule:
          interval: "daily"
        commit-message:
          prefix: ⬆
      # Python
      - package-ecosystem: "pip"
        directory: "/"
        schedule:
          interval: "monthly"
        commit-message:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Apr 19 00:41:55 UTC 2024
    - 311 bytes
    - Viewed (0)
  8. ci/official/containers/linux_arm64/builder.packages.txt

    # Packages needed to install Python from source
    # See https://github.com/pyenv/pyenv/wiki#suggested-build-environment
    build-essential
    curl
    libbz2-dev
    libffi-dev
    liblzma-dev
    libncurses5-dev
    libreadline-dev
    libsqlite3-dev
    libssl-dev
    libxml2-dev
    libxmlsec1-dev
    llvm
    make
    openssl
    tk-dev
    wget
    xz-utils
    zlib1g-dev
    git
    
    # Packages needed to build devtoolset
    file
    flex
    g++
    make
    patch
    rpm2cpio
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Sep 29 00:26:34 UTC 2023
    - 430 bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/middleware.md

    中间件参数接收如下参数:
    
    * `request`.
    * 一个函数 `call_next` 它将接收 `request` 作为参数.
        * 这个函数将 `request` 传递给相应的 *路径操作*.
        * 然后它将返回由相应的*路径操作*生成的 `response`.
    * 然后你可以在返回 `response` 前进一步修改它.
    
    ```Python hl_lines="8-9  11  14"
    {!../../docs_src/middleware/tutorial001.py!}
    ```
    
    /// tip
    
    请记住可以 <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers" class="external-link" target="_blank">用'X-' 前缀</a>添加专有自定义请求头.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/middleware.md

    In general, ASGI middlewares are classes that expect to receive an ASGI app as the first argument.
    
    So, in the documentation for third-party ASGI middlewares they will probably tell you to do something like:
    
    ```Python
    from unicorn import UnicornMiddleware
    
    app = SomeASGIApp()
    
    new_app = UnicornMiddleware(app, some_config="rainbow")
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:45:50 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top