- changed watchers to daniel@accamail.com
0.7b3 Documentation Error
Issue #2111
resolved
It is not a bug but couldn't find where else to post. New to Alchemy and found out that using Base as the parent class on a derived class will not give you the id on the on the parent class. In summary, it should be:
class parent(Base):
...
class child(parent):
...
Thank you.
Comments (5)
-
repo owner -
repo owner - changed component to documentation
- assigned issue to
-
repo owner - changed milestone to 0.7.0
OK well that particular example in the documentation isn't illustrating parent/child inheritance. User and Address are related to each other via composition, not inheritance. There's nothing Python 2 specific about that example.
For an example of inheritance beyond one level see http://www.sqlalchemy.org/docs/orm/inheritance.html
-
repo owner - changed status to wontfix
-
repo owner - removed milestone
Removing milestone: 0.7.0 (automated comment)
- Log in to comment
need the exact document and line of text you're referring to, please. There are well over 100 pages of documentation.