13 posts
|
> with get_ontology(...).load() as o:
> o.x.y = z
This is interesting, too, but I don't think it would be as useful, because it seems to me like the lifetime of the ontology would be limited to the with block.
I'm thinking more along the lines of
longnameontology = get_ontology(...).load()
with longnameontology as o:
o.x.y = z
|