StubLoader
Bases: IDMixin
Vector loader for vectors with no layers
Experimental
StubLoader is experimental since 1.4.0 and may change without notice.
Implements the VectorLoader protocol.
| PARAMETER | DESCRIPTION |
|---|---|
delay
|
Delay in seconds
TYPE:
|
jitter
|
Jitter in seconds
TYPE:
|
id
property
| RETURNS | DESCRIPTION |
|---|---|
uuid.UUID
|
ID |
from_config
classmethod
Creates a stub loader from the configuration.
| PARAMETER | DESCRIPTION |
|---|---|
config
|
Configuration
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
StubLoader
|
Stub loader |
StubLoaderConfig
Bases: pydantic.BaseModel
Configuration for the from_config class method of StubLoader
Usage
You can create the configuration from a config file.
package: 'aviary'
name: 'StubLoader'
config:
delay: 0.
jitter: 0.
| ATTRIBUTE | DESCRIPTION |
|---|---|
delay |
Delay in seconds - defaults to 0.
TYPE:
|
jitter |
Jitter in seconds - defaults to 0.
TYPE:
|