slack_transfer.functions.upload.check_upload_conflict#
- slack_transfer.functions.upload.check_upload_conflict(client: UploaderClientABC, name_mappings: Optional[Dict[str, str]] = None) List[str][source]#
check upload conflict in terms of channel name.
This is not considered if the channel is already finished processing. Just checking name conflict.
- Parameters
client (UploaderClientABC) – uploader client. If use this via any UploaderClient Class, self is automatically set. Thus, ignore this.
name_mappings (Dict[str, str]; Optional; default=None) – You can set name mappings between the channel names of the original and destination workspaces. For example,
{"old_name1": "new_name1", "old_name2": "new_name2"}.
- Yields
List[str] – name conflicting channels’ names.