from uuid import uuid4 def generate_unique_id() -> str: """Generate unique S3 bucket path part. Returns: UUID4 str. """ return uuid4().hex def get_temp_table_name(run_id: str, table_name: str): """Generate a new table name. Args: run_id: Run ID. table_name: Table name. Returns: Table name. """ return table_name + run_id[:8]