Пример #1
0
 def find_by_id(id):
     return Customer.from_db(db.get_customer(id))
Пример #2
0
 def find_by_id(id: str) -> Optional['Customer']:
     return Customer.from_db(db.get_customer(id))
Пример #3
0
 def get(id):
     return Customer.from_db(db.get_customer(id))