def get_card(self, id) -> Card:
     mongo_card = self.cards.find({'_id': ObjectId(id)})
     return Card.mongo_dict_to_card(mongo_card)
 def get_cards(self) -> List[Card]:
     mongo_card_array = self.cards.find()
     return [
         Card.mongo_dict_to_card(mongo_card)
         for mongo_card in mongo_card_array
     ]