Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9339398
D1949.id6562.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
628 B
Subscribers
None
D1949.id6562.diff
View Options
diff --git a/swh/lister/core/models.py b/swh/lister/core/models.py
--- a/swh/lister/core/models.py
+++ b/swh/lister/core/models.py
@@ -7,13 +7,14 @@
import logging
from sqlalchemy import Column, DateTime, Integer, String
-from sqlalchemy.ext.declarative import declarative_base, DeclarativeMeta
+from sqlalchemy.ext.declarative import DeclarativeMeta
from .abstractattribute import AbstractAttribute
-logger = logging.getLogger(__name__)
+from swh.storage.schemata.distribution import SQLBase
+
-SQLBase = declarative_base()
+logger = logging.getLogger(__name__)
class ABCSQLMeta(abc.ABCMeta, DeclarativeMeta):
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jul 3 2025, 9:39 AM (5 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3213949
Attached To
D1949: models: use the same declarative base class for all models
Event Timeline
Log In to Comment