Python script variables
GATEWAY_PYTHON_SCRIPT_REQUIREMENTS_FILE
Sets the default path to the requirements file that Gateway looks for in a Python script service’s working directory. The path must point to either a requirements.txt file or a pyproject.toml file.
To override this default for a single service, use the --req-file flag when you create the service. For more information, see iagctl create service python-script.
Set this variable on both gateway servers and runners. In a distributed-execution cluster, runners must have it because they run the services.
Environment Variable
GATEWAY_PYTHON_SCRIPT_REQUIREMENTS_FILE
File
Section: python-script
Key: requirements_file
Default
requirements.txt