Public Member Functions | Static Public Attributes | Static Private Attributes | List of all members
wirecell.util.wires.db.CrateWibLink Class Reference
Inheritance diagram for wirecell.util.wires.db.CrateWibLink:
Base

Public Member Functions

def __repr__ (self)
 
- Public Member Functions inherited from Base
virtual std::string who () const
 
virtual ~Base () noexcept=default
 

Static Public Attributes

 crate_id = Column(Integer, ForeignKey('crates.id'), primary_key=True)
 
 wib_id = Column(Integer, ForeignKey('wibs.id'), primary_key=True)
 
 crate = relationship('Crate', back_populates='wib_links')
 
 wib = relationship('Wib', back_populates='crate_links')
 
 slot = Column(Integer)
 

Static Private Attributes

string __tablename__ = "crate_wib_links"
 

Detailed Description

A join table for crate-WIB association

Definition at line 533 of file db.py.

Member Function Documentation

def wirecell.util.wires.db.CrateWibLink.__repr__ (   self)

Definition at line 546 of file db.py.

546  def __repr__(self):
547  return "<CrateWibLink slot:%s [%s %s]> " % \
548  (self.address, self.crate, self.wib)
549 

Member Data Documentation

string wirecell.util.wires.db.CrateWibLink.__tablename__ = "crate_wib_links"
staticprivate

Definition at line 537 of file db.py.

wirecell.util.wires.db.CrateWibLink.crate = relationship('Crate', back_populates='wib_links')
static

Definition at line 541 of file db.py.

wirecell.util.wires.db.CrateWibLink.crate_id = Column(Integer, ForeignKey('crates.id'), primary_key=True)
static

Definition at line 538 of file db.py.

wirecell.util.wires.db.CrateWibLink.slot = Column(Integer)
static

Definition at line 544 of file db.py.

wirecell.util.wires.db.CrateWibLink.wib = relationship('Wib', back_populates='crate_links')
static

Definition at line 542 of file db.py.

wirecell.util.wires.db.CrateWibLink.wib_id = Column(Integer, ForeignKey('wibs.id'), primary_key=True)
static

Definition at line 539 of file db.py.


The documentation for this class was generated from the following file: