Represents an executable Python resource, including its associated script, environment variables, and execution details such as outputs and exit codes.
Regular expression used to validate environment variable names.
Validates the name of an environment variable. Throws an error if the name contains invalid characters, starts with a number, or is empty.
A mapping of environment variable names to their values.
Specifies the conda environment in which this Python script will execute, if Anaconda is installed.
The Python script to be executed.
Captures the standard error output from the execution.
Captures the standard output from the execution.
The exit code of the executed command. Defaults to 0.
The file path where the Python stdout of this resource is saved
A timestamp indicating when the command was executed, as an unsigned 64-bit integer.
The maximum duration (in seconds) allowed for the command execution. Defaults to 60 seconds.
Returns the class of this.
this
Returns a string representation of this.
This method is used to convert the values of string interpolation expressions to strings.
Returns this |> transform if this is non-null, and null otherwise.
this |> transform
null
This method is the complement of the ?? operator and the equivalent of an Option type's map and flatMap methods.
??
Option
map
flatMap
Tells if this object has a property with the given name.
name
Returns the value of the property with the given name.
Throws if a property with this name does not exist.
Returns null if a property with this name does not exist.
Converts this object to a Dynamic object.
Dynamic
Converts this object to a Map.
Map
Represents an executable Python resource, including its associated script, environment variables, and execution details such as outputs and exit codes.