Skip to content

CustomCode

Source code in docs_src/capo_glue/types/custom_code.py
class CustomCode(TypedDict, closed=True):
    name: "capo_glue.types.node_name.NodeName"
    """<p>The name of the transform node.</p>"""
    inputs: "capo_glue.types.many_inputs.ManyInputs"
    """<p>The data inputs identified by their node names.</p>"""
    code: "capo_glue.types.extended_string.ExtendedString"
    """<p>The custom code that is used to perform the data transformation.</p>"""
    class_name: "capo_glue.types.enclosed_in_string_property.EnclosedInStringProperty"
    """<p>The name defined for the custom code node class.</p>"""
    output_schemas: NotRequired["capo_glue.types.glue_schemas.GlueSchemas"]
    """<p>Specifies the data schema for the custom code transform.</p>"""

class_name instance-attribute

The name defined for the custom code node class.

code instance-attribute

The custom code that is used to perform the data transformation.

inputs instance-attribute

inputs: ManyInputs

The data inputs identified by their node names.

name instance-attribute

name: NodeName

The name of the transform node.

output_schemas instance-attribute

output_schemas: NotRequired[GlueSchemas]

Specifies the data schema for the custom code transform.