You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 25, 2023. It is now read-only.
According to comment:
"Cezary Wagner Could we bring Model._get_kind() to public i.e. Model.get_kind()
need to construct keys I think so.
Guido van Rossum It is public. It only starts with underscore so that it
doesn't prevent you from having a property named 'get_kind'. Please use the
tracker, or the mailing list for suggestions, not the cheat sheet."
I mean public all methods methodName, protected for internal use _methodName,
private for class use __methodName - so I should never use _* or __* since it
reserved by API developers.
Sure I could write class theBest.Model(ndb.Model) to extend but think that
get_kind() should be in ndb.Model and all ndb._* should be not used to give you
more freedom and make me more safe.
Original issue reported on code.google.com by Cezary.W...@gmail.com on 5 Nov 2012 at 7:33