class documentation
class RedisStreamSource(StreamDataSource, SinkableDataSource, ColumnFeatureMappable): (source)
Undocumented
Method | consumer |
Returns a consumer that actually can load data |
Method | make |
Undocumented |
Method | map |
Undocumented |
Method | with |
Undocumented |
Async Method | write |
Undocumented |
Class Variable | config |
Undocumented |
Class Variable | name |
Undocumented |
Class Variable | topic |
Undocumented |
Instance Variable | mapping |
Undocumented |
Instance Variable | record |
Undocumented |
Inherited from StreamDataSource
:
Class Method | _deserialize |
Undocumented |
Method | _serialize |
Undocumented |
Inherited from ColumnFeatureMappable
(via StreamDataSource
, SinkableDataSource
):
Method | columns |
Undocumented |
Method | feature |
Undocumented |
Method | with |
Undocumented |
Returns a consumer that actually can load data
E.g: ```python redis_config = RedisConfig(env_var="REDIS_URL")
consumer = redis_config.consumer() ```
- Returns:
- ReadableStream: A stream you can read records from
def make_redis_friendly(self, data:
pl.LazyFrame
, features: set[ Feature]
) -> pl.LazyFrame
:
(source)
¶
Undocumented