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