def __init__(self, connection): self._connection = connection ExposesActivities.__init__(self, self._connection)
def __init__(self, agent_id, connection=None, **kwargs): self._agent_id = agent_id self._connection = connection ExposesActivities.__init__(self, connection, agent_id) [setattr(self, k, v) for k, v in kwargs.items()]