this import should go with the other datetime like so

    from datetime import (
        datetime,
        timedelta,
    )