from datetime import datetime
import pytz


def set_timezone(time: datetime) -> datetime:
    """ Get a datetime input, add timezone then return a proper datetime object """
    europe_paris = pytz.timezone('Europe/Paris')
    return time.astimezone(europe_paris)