Skip to content

Spigot

Source code in docs_src/capo_glue/types/spigot.py
class Spigot(TypedDict, closed=True):
    name: "capo_glue.types.node_name.NodeName"
    """<p>The name of the transform node.</p>"""
    inputs: "capo_glue.types.one_input.OneInput"
    """<p>The data inputs identified by their node names.</p>"""
    path: "capo_glue.types.enclosed_in_string_property.EnclosedInStringProperty"
    """<p>A path in Amazon S3 where the transform will write a subset of records from the dataset to a JSON file in an Amazon S3 bucket.</p>"""
    topk: NotRequired["capo_glue.types.topk.Topk"]
    """<p>Specifies a number of records to write starting from the beginning of the dataset.</p>"""
    prob: NotRequired["capo_glue.types.prob.Prob"]
    """<p>The probability (a decimal value with a maximum value of 1) of picking any given record. A value of 1 indicates that each row read from the dataset should be included in the sample output.</p>"""

inputs instance-attribute

inputs: OneInput

The data inputs identified by their node names.

name instance-attribute

name: NodeName

The name of the transform node.

path instance-attribute

A path in Amazon S3 where the transform will write a subset of records from the dataset to a JSON file in an Amazon S3 bucket.

prob instance-attribute

prob: NotRequired[Prob]

The probability (a decimal value with a maximum value of 1) of picking any given record. A value of 1 indicates that each row read from the dataset should be included in the sample output.

topk instance-attribute

topk: NotRequired[Topk]

Specifies a number of records to write starting from the beginning of the dataset.