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:

```yaml
source:
- address: videos/sd_london_station_sd.mp4
type: file
elements:
- name: passthrough
```

PassThrough Objects

class PassThrough(Element)

This is a no-op element.

Attributes:

  • name str - The name of the element.

Examples:

```python
ele = PassThrough()
```

process

def process(meta: PipelineMetadata)

Pass through the metadata.

Arguments:

  • meta PipelineMetadata - The metadata to pass through.

Returns:

  • meta PipelineMetadata - The metadata.

Examples:

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