Models¶
- class ultra_piston.CompileStage(**data)
Represents the result of the compilation stage, if applicable.
- Attributes:
- Parameters:
data (
Any)
- class ultra_piston.ExecutionOutput(**data)
Represents the complete output from a code execution request.
- Attributes:
- language
str - The language used to execute the code.
- version
str - The language version used.
- run
RunStage - Output from the runtime execution stage.
- compile
Optional[CompileStage] - Output from the compilation stage, if compilation was required.
- compile_memory_limit
Optional[int] - Memory limit (in bytes) used during compilation.
- compile_timeout
Optional[Union[int,float]] - Timeout (in milliseconds) for the compilation stage.
- language
- Parameters:
data (
Any)
- class ultra_piston.File(**data)
Represents a file to be sent for execution.
- Attributes:
- Parameters:
data (
Any)
- class ultra_piston.Package(**data)
Represents a package or dependency available for a specific language.
- Attributes:
- Parameters:
data (
Any)
- class ultra_piston.RunStage(**data)
Represents the result of the runtime execution stage.
- Attributes:
- Parameters:
data (
Any)
- class ultra_piston.Runtime(**data)
Represents a supported language runtime.
- Attributes:
- Parameters:
data (
Any)