目次

Search

  1. はじめに
  2. ランタイム環境
  3. Hosted Agent
  4. Secure Agentグループ
  5. Secure Agent
  6. Secure Agentのインストール
  7. サーバーレスランタイム環境

ランタイム環境

ランタイム環境

Pythonトランスフォーメーションのインストールファイルとリソースファイルのコピー

Pythonトランスフォーメーションのインストールファイルとリソースファイルのコピー

Pythonトランスフォーメーション用のリソースファイルをコピーするには、次のコードスニペットをテンプレートとして使用します。
agent: elasticServer: autoApply: pythonTx: resources: - fileCopy: sourcePath: py_depends/res1.txt - fileCopy: sourcePath: py_depends/res2.txt
Pythonインストールを補足ファイルの場所からサーバーレスランタイム環境にコピーするには、Pythonインストールディレクトリへの相対パスを指定します。
例えば、補足ファイルの場所の
Python3_8_with_sklearn_panda/
というフォルダにPythonインストールが保存されている場合は、次のコードスニペットを使用します。
agent: elasticServer: autoApply: pythonTx: resources: - fileCopy: sourcePath: py_depends/Python3_8_with_sklearn_panda/
サーバーレスランタイム環境の実行中にPythonインストールディレクトリを補足ファイルの場所に追加した場合、インストールが使用可能になるには、環境を再デプロイする必要があります。