summaryrefslogtreecommitdiff
path: root/examples/association/dict_of_sets_with_default.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/association/dict_of_sets_with_default.py')
-rw-r--r--examples/association/dict_of_sets_with_default.py16
1 files changed, 11 insertions, 5 deletions
diff --git a/examples/association/dict_of_sets_with_default.py b/examples/association/dict_of_sets_with_default.py
index 7f668c087..435761d3f 100644
--- a/examples/association/dict_of_sets_with_default.py
+++ b/examples/association/dict_of_sets_with_default.py
@@ -12,13 +12,19 @@ upon access of a non-existent key, in the same manner as Python's
"""
-from sqlalchemy import String, Integer, Column, create_engine, ForeignKey
-from sqlalchemy.orm import relationship, Session
-from sqlalchemy.orm.collections import MappedCollection
-from sqlalchemy.ext.declarative import declarative_base
-from sqlalchemy.ext.associationproxy import association_proxy
import operator
+from sqlalchemy import Column
+from sqlalchemy import create_engine
+from sqlalchemy import ForeignKey
+from sqlalchemy import Integer
+from sqlalchemy import String
+from sqlalchemy.ext.associationproxy import association_proxy
+from sqlalchemy.ext.declarative import declarative_base
+from sqlalchemy.orm import relationship
+from sqlalchemy.orm import Session
+from sqlalchemy.orm.collections import MappedCollection
+
class Base(object):
id = Column(Integer, primary_key=True)