Is your feature request related to a problem? Please describe.
Methods like load_typesystem or load_cas_from_xmi can currently work with an IO object or parse the context of a string, but they cannot load from disk if the user provides a Path object.
Describe the solution you'd like
I/O methods should support Union[IO, Path, str].
Is your feature request related to a problem? Please describe. Methods like
load_typesystem
orload_cas_from_xmi
can currently work with anIO
object or parse the context of a string, but they cannot load from disk if the user provides aPath
object.Describe the solution you'd like I/O methods should support
Union[IO, Path, str]
.