Return a time instance based on the values of the data param

def deserialize_time(data):
    """Return a time instance based on the values of the data param"""
    parsed = parser.parse(data)
    return parsed.time().replace(tzinfo=parsed.tzinfo)