# HG changeset patch # User Franz Glasner # Date 1688812004 -7200 # Node ID 88ee7d1cc0bba22b1628be969ac9d044681db1f0 # Parent 0ef7141030ca3297e1988db6868266740eac910b FIX: documentation of util.get_data_stream(): the returned value must support the context manager protocol diff -r 0ef7141030ca -r 88ee7d1cc0bb data_schema/util.py --- a/data_schema/util.py Sat Jul 08 12:20:24 2023 +0200 +++ b/data_schema/util.py Sat Jul 08 12:26:44 2023 +0200 @@ -44,7 +44,7 @@ "data:" URIs are resolve within ".". - The returned stream needs to be closed as usual. + The returned stream must support the context manager protocol. """ u = rfc3986.URIReference.from_string(uri).normalize()