PYXB - When generating class definitions at runtime, iam facing following expection
import pyxb.binding.generate
path = "E:/schema/schema.xsd"
code = pyxb.binding.generate.GeneratePython(schema_location=path)
rv = compile(code, 'test', 'exec')
xsd = eval(rv)
above code gives this error
raise pyxb.BindingGenerationError('Generation of namespace groups requires generate-to-files')
pyxb.exceptions_.BindingGenerationError: Generation of namespace groups requires generate-to-file