def get_undefined_namespaces(graph: BELGraph) -> Set[str]:
return {<EOL>exc.namespace<EOL>for _, exc, _ in graph.warnings<EOL>if isinstance(exc, UndefinedNamespaceWarning)<EOL>}<EOL>
Get all namespaces that are used in the BEL graph aren't actually defined.