def create_incoming_message(self, data={}):
        defaults = {
            'text': self.random_string(10),
        }
        defaults.update(data)
        if 'connections' not in defaults:
            defaults['connections'] = [self.create_connection()]
        return IncomingMessage(**defaults)
Return a dictionary of metadata for a server
dataset/ETHPy150Open rapidsms/rapidsms/rapidsms/tests/harness/base.py/CreateDataMixin.create_incoming_message--crossover with--dataset/ETHPy150Open openstack/python-openstacksdk/openstack/compute/v2/_proxy.py/Proxy.get_server_metadata