Data Science, Product Analytics, Simulation, Deep Dives, Programming.
customer_request self.agent = agent def process(self, system): self.agent.finish_task() # log finish time self.customer_request.finish_time = system.current_time # save processed request system.processed_requests.append(self.customer_request) if system.logging: print('<%s> Agent %s finished request