Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Make Document.get_collection public #1182
Comments
|
That's a good point. I use |
|
How are you going to name it? Will it be a property |
|
No matter what public property we choose, we should make sure that users can't use it as a field name, e.g. this should raise an error immediately upon definition:
|
Document._get_collectionis a protected method, but it's very useful for public usage. I don't see any reason why it should be protected.I guess this would suffice:
The text was updated successfully, but these errors were encountered: