Sort of extracted from #3426 (review)
Should dvc.api.open() behave more like builtin open() in that it just returns the file object? (Probably an explicit close() would be needed though). But keeping also the existing possibility of being used as a context manager (with keyboard)?
CC @shcheklein please add any further details if needed, thanks!
Should
dvc.api.open()behave more like builtin open() in that it just returns the file object? (Probably an explicit close() would be needed though). But keeping also the existing possibility of being used as a context manager (withkeyboard)?CC @shcheklein please add any further details if needed, thanks!