CopyProcessor
Tiles processor that copies a channel
Implements the TilesProcessor protocol.
| PARAMETER | DESCRIPTION |
|---|---|
channel_name
|
Channel name
TYPE:
|
new_channel_name
|
New channel name
TYPE:
|
from_config
classmethod
Creates a copy processor from the configuration.
| PARAMETER | DESCRIPTION |
|---|---|
config
|
Configuration
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
CopyProcessor
|
Copy processor |
CopyProcessorConfig
Bases: pydantic.BaseModel
Configuration for the from_config class method of CopyProcessor
Create the configuration from a config file
- Use null instead of None
Example
You can create the configuration from a config file.
package: 'aviary'
name: 'CopyProcessor'
config:
channel_name: 'my_channel'
new_channel_name: 'my_new_channel'
| ATTRIBUTE | DESCRIPTION |
|---|---|
channel_name |
Channel name
TYPE:
|
new_channel_name |
New channel name - defaults to None
TYPE:
|