in transcoder/output/OutputManager.py [0:0]
def wait_for_schema_creation(self):
"""Wait for enqueued schema resources. Nothing to wait for if lazy_create_resources is enabled."""
self.schema_thread_pool_executor.shutdown(wait=True)
result = futures.wait(self.schema_futures)
exceptions = []
for future in result.done:
exception = future.exception()
if exception:
exceptions.append(exception)
if len(exceptions) > 0:
raise OutputManagerSchemaError(exceptions)