python_version
str | None - The Python version to use for this environment.
If None, uses the current platform’s Python version.environ
MutableMapping[str, str] - A mutable mapping of environment variables which are available in the job.environ
dict[str, str] - A dictionary containing environment variables to set.None
- This method does not return anything.paths
str | list[str] - The file path(s) to include. Can be a string path or list of string paths.Env
- Returns this environment instance for method chaining.TypeError
- If the paths argument is of an unsupported type.requirements
list[str] - The requirements.txt path (str) or a requirements list.Env
- Returns this environment instance for method chaining.TypeError
- If the requirements argument is of an unsupported type.