def get_application(self, host):
        host = host.split(':')[0]
        with self.lock:
            backend = self.get_backend_for_host(host)
            app = self.app_instances.get(backend, None)
            if app is None:
                app = self.create_app(backend)
                self.app_instances[backend] = app
            return app
dataset/ETHPy150Open spulec/moto/moto/server.py/DomainDispatcherApplication.get_application/original