@team.setter
def team(self, value):
    if isinstance(value, str):
        self._team = urlparse.quote(value)
    else:
        self._team = value
@team.setter
def team(self, value):
    if isinstance(value, str):
        self._team = urlparse.quote(value)
    else:
        self._team = value