Skip to content

Statement

Source code in docs_src/capo_glue/types/statement.py
class Statement(TypedDict, closed=True):
    id: "capo_glue.types.integer_value.IntegerValue"
    """<p>The ID of the statement.</p>"""
    code: NotRequired["capo_glue.types.generic_string.GenericString"]
    """<p>The execution code of the statement.</p>"""
    state: NotRequired["capo_glue.types.statement_state.StatementState"]
    """<p>The state while request is actioned.</p>"""
    output: NotRequired["capo_glue.types.statement_output.StatementOutput"]
    """<p>The output in JSON.</p>"""
    progress: "capo_glue.types.double_value.DoubleValue"
    """<p>The code execution progress.</p>"""
    started_on: "capo_glue.types.long_value.LongValue"
    """<p>The unix time and date that the job definition was started.</p>"""
    completed_on: "capo_glue.types.long_value.LongValue"
    """<p>The unix time and date that the job definition was completed.</p>"""

code instance-attribute

code: NotRequired[GenericString]

The execution code of the statement.

completed_on instance-attribute

completed_on: LongValue

The unix time and date that the job definition was completed.

id instance-attribute

The ID of the statement.

output instance-attribute

output: NotRequired[StatementOutput]

The output in JSON.

progress instance-attribute

progress: DoubleValue

The code execution progress.

started_on instance-attribute

started_on: LongValue

The unix time and date that the job definition was started.

state instance-attribute

state: NotRequired[StatementState]

The state while request is actioned.