summaryrefslogtreecommitdiff
path: root/examples/generic_associations/generic_fk.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/generic_associations/generic_fk.py')
-rw-r--r--examples/generic_associations/generic_fk.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/generic_associations/generic_fk.py b/examples/generic_associations/generic_fk.py
index 23145ed4c..1cd0404e9 100644
--- a/examples/generic_associations/generic_fk.py
+++ b/examples/generic_associations/generic_fk.py
@@ -35,7 +35,7 @@ from sqlalchemy.orm import Session
@as_declarative()
-class Base(object):
+class Base:
"""Base class which provides automated table name
and surrogate primary key column.
@@ -86,7 +86,7 @@ class Address(Base):
)
-class HasAddresses(object):
+class HasAddresses:
"""HasAddresses mixin, creates a relationship to
the address_association table for each parent.