Should language document_from_text() etc. be a reference to the Document class #2183
Labels
api: language
Issues related to the Cloud Natural Language API API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
See https://github.com/GoogleCloudPlatform/gcloud-python/pull/2062/files/d36ad4db94666450786d4f667aea0607ff2113cb#r76032786
The question is whether we should have
Client.document_from_foo
methods or just haveClient.document
be a reference to the classDocument
and then useClient.document.from_foo
.This amounts to swapping
_
for.
(i.e. no less typing) and makes a "proper noun" likeDocument
be referenced as an "improper noun" as a property, which is not a win IMOThe text was updated successfully, but these errors were encountered: