Class representing a Python execution resource, which includes the script to be executed, environment variables, and execution details such as outputs and exit codes.
Regular expression for validating environment variable names.
Function to validate environment variable names.
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 python environment in which this Python script will execute. Uvu will be used by default, Anaconda if it is installed.
The Python script to be executed.
The standard error output of the script, if any.
The standard output of the script, if any.
The exit code of the script. Defaults to 0 (success).
The file path where the script output value of this resource is saved
The listing of the item iteration results
A timestamp indicating when the command was executed, as an unsigned 64-bit integer.
The timeout duration (in seconds) for the script 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
Class representing a Python execution resource, which includes the script to be executed, environment variables, and execution details such as outputs and exit codes.