Get doc svc URI from collab path


#1

Would it be possible to have a helper function to get a document service URI from a collab storage path? I have seen this in a few places:

def get_uri(path):
    attrs = client.document.get_standard_attr(path)
    return URI(attrs['_contentType'], attrs['_uuid'])

It would be nice to not have to copy and paste it everywhere.