find_by_id#
- classmethod PackageDef.find_by_id(db, uid)#
Find a package definition object by ID in a given database.
- Parameters:
- db :class:`.Database`
Database to search for the package definition.
- UID
int
Unique identifier for the package definition.
- Returns:
PackageDef
Package definition found,
None
otherwise.