Skip to main content

PassThrough

This is a no-op element.

This module provides a pipeline element that does nothing. It is intended to be used as a placeholder for other elements.

Examples:

REST API:

WIP

Configuration File:

short-from : passthrough

- source:
- address: https://youtu.be/jY86pXeTOLw
- type: youtube
- pipeline:
- passthrough

PassThrough Objects

class PassThrough(Element)

This is a no-op element.

Attributes:

  • name str - The name of the element.

Examples:

ele = PassThrough()

process

 | def process(meta)

Pass through the metadata.

Arguments:

  • meta dict - The metadata to pass through.

Returns:

  • meta dict - The metadata.

Examples:

ele = PassThrough()
meta = ele.process(meta)