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