from pydantic import BaseModel from typing import Optional from typing import List import time class Lead_Labels (BaseModel): company: str team: List[str] amount: int duration: str capacity: str entity_labels = [ "team", "developer", "amount", "duration", "capacity", "company", "currency" ] def set_start () -> time: return time.time() def audit_elapsedtime(function: str, start: time) -> None: end = time.time() print("------------------") print(f"[{function}] Elapsed time: {end-start}") print("------------------")