Support Slack channel regex

This commit is contained in:
Weves 2024-01-27 15:49:12 -08:00 committed by Chris Weaver
parent ce12dd4a5a
commit d75ca0542a

View File

@ -285,6 +285,9 @@ class SlackLoadConnector(LoadConnector):
workspace: str,
export_path_str: str,
channels: list[str] | None = None,
# if specified, will only include channels that match at least one of these
# regexes OR are in `channels`
channel_regexes: list[str] | None = None,
batch_size: int = INDEX_BATCH_SIZE,
) -> None:
self.workspace = workspace