Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9348396
models.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
517 B
Subscribers
None
models.py
View Options
# Copyright (C) 2017-2019 the Software Heritage developers
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information
from
sqlalchemy
import
Column
,
Boolean
,
Integer
from
swh.lister.core.models
import
IndexingModelBase
class
GitHubModel
(
IndexingModelBase
):
"""a GitHub repository"""
__tablename__
=
'github_repo'
uid
=
Column
(
Integer
,
primary_key
=
True
)
indexable
=
Column
(
Integer
,
index
=
True
)
fork
=
Column
(
Boolean
,
default
=
False
)
File Metadata
Details
Attached
Mime Type
text/x-python
Expires
Jul 4 2025, 6:28 PM (5 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3354881
Attached To
rDLS Listers
Event Timeline
Log In to Comment