Skip to content
  • Nicolas Chauvat's avatar
    [reader] refactor by merging PyFileReader into SchemaLoader (closes #67670) · 20f6b185688b
    Nicolas Chauvat authored
    - inline _build_context()
    - inline method error()
    - move methods of PyReadFile (read_file, import_eschema, exec_file)
      and class attribute context up to SchemaLoader
    - change prototype of SchemaLoader.add_definition() and update tests
    - provide (some) backward compatibility for PyFileReader
    - fix test brokenschema3
    20f6b185688b