def __init__(self, names=[], client=None):
    try:
        self.client = (client or Client.current())
    except ValueError:
        self.client = get_worker().client
    self.names = names
    self.id = uuid.uuid4().hex
    self._locked = False
def __init__(self, names=[], client=None):
    try:
        self.client = (client or Client.current())
    except ValueError:
        self.client = get_worker().client
    self.names = names
    self.id = uuid.uuid4().hex
    self._locked = False