Esempio n. 1
0
 def find_by_id(id):
     return Customer.from_db(db.get_customer(id))
Esempio n. 2
0
 def find_by_id(id: str) -> Optional['Customer']:
     return Customer.from_db(db.get_customer(id))
Esempio n. 3
0
 def get(id):
     return Customer.from_db(db.get_customer(id))