find_by_id#
- classmethod Primitive.find_by_id(layout, uid)#
Find a Connectable object by database ID in a given layout.
- Parameters:
- layout
Layout
Layout to search for the Connectable object.
- uid
int
Database ID.
- layout
- Returns:
- Connectable
Connectable object with the given database ID.