コード例 #1
0
 def find_by_id(id):
     return Customer.from_db(db.get_customer(id))
コード例 #2
0
ファイル: customer.py プロジェクト: yijxiang/alerta
 def find_by_id(id: str) -> Optional['Customer']:
     return Customer.from_db(db.get_customer(id))
コード例 #3
0
ファイル: customer.py プロジェクト: txirinedu/alerta
 def get(id):
     return Customer.from_db(db.get_customer(id))