fmn.backends.pagure_models module¶
- class fmn.backends.pagure_models.BASE(**kwargs: Any)[source]¶
Bases:
AsyncAttrs,DeclarativeBase- metadata: ClassVar[MetaData] = MetaData()¶
Refers to the
_schema.MetaDatacollection that will be used for new_schema.Tableobjects.See also
- registry: ClassVar[_RegistryType] = <sqlalchemy.orm.decl_api.registry object>¶
Refers to the
_orm.registryin use where new_orm.Mapperobjects will be associated.
- class fmn.backends.pagure_models.Project(**kwargs)[source]¶
Bases:
BASEStores the projects.
Table – projects
- property fullname¶
Return the name of the git repo as user/project if it is a project forked, otherwise it returns the project name.