diff options
Diffstat (limited to 'examples/materialized_paths/materialized_paths.py')
-rw-r--r-- | examples/materialized_paths/materialized_paths.py | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/examples/materialized_paths/materialized_paths.py b/examples/materialized_paths/materialized_paths.py index 45ae0c193..f777f131b 100644 --- a/examples/materialized_paths/materialized_paths.py +++ b/examples/materialized_paths/materialized_paths.py @@ -26,11 +26,20 @@ already stored in the path itself. Updates require going through all descendants and changing the prefix. """ -from sqlalchemy import Column, Integer, String, func, select, create_engine -from sqlalchemy.orm import remote, foreign, relationship, Session +from sqlalchemy import Column +from sqlalchemy import create_engine +from sqlalchemy import func +from sqlalchemy import Integer +from sqlalchemy import select +from sqlalchemy import String +from sqlalchemy.dialects.postgresql import ARRAY from sqlalchemy.ext.declarative import declarative_base +from sqlalchemy.orm import foreign +from sqlalchemy.orm import relationship +from sqlalchemy.orm import remote +from sqlalchemy.orm import Session from sqlalchemy.sql.expression import cast -from sqlalchemy.dialects.postgresql import ARRAY + Base = declarative_base() |