def __init__(self, config):
     self.retriever = ObjectRetriever(config)
     self.trackings_to_costs: Dict[Tuple[str], Tuple[
         str, float]] = self.retriever.load(PORTAL_TRACKINGS_FILENAME)
     self.po_to_cost: Dict[str,
                           float] = self.retriever.load(PORTAL_POS_FILENAME)
 def __init__(self, config):
   self.retriever = ObjectRetriever(config)
   self.archive_dict = self.retriever.load(ARCHIVES_FILENAME)
Example #3
0
 def __init__(self, config) -> None:
   self.retriever = ObjectRetriever(config)
   self.orders_dict = self.retriever.load(ORDERS_FILENAME)
   self.mail = self.load_mail()
Example #4
0
 def __init__(self, config):
     self.retriever = ObjectRetriever(config)
     # map of {email_id: {order_id: cancelled_items}}
     self.email_id_dict = self.retriever.load(CANCELLATIONS_FILENAME)
 def __init__(self, config):
   self.retriever = ObjectRetriever(config)
   self.email_to_orders: Dict[str, List[Order]] = self.retriever.load(EMAIL_TO_ORDERS_FILENAME)
 def __init__(self, config) -> None:
     self.retriever = ObjectRetriever(config)