Esempio n. 1
0
 def find_by_id(id, customers=None):
     return Blackout.from_db(db.get_blackout(id, customers))
Esempio n. 2
0
 def find_by_id(id: str, customers: List[str]=None) -> Optional['Blackout']:
     return Blackout.from_db(db.get_blackout(id, customers))
Esempio n. 3
0
 def get(id, customer=None):
     return Blackout.from_db(db.get_blackout(id, customer))
Esempio n. 4
0
 def find_by_id(id, customer=None):
     return Blackout.from_db(db.get_blackout(id, customer))
Esempio n. 5
0
 def find_by_id(id: str, customers: List[str]=None) -> Optional['Blackout']:
     return Blackout.from_db(db.get_blackout(id, customers))