mimipynb commited on
Commit
6fbd11f
·
verified ·
1 Parent(s): d04c27e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ app = FastAPI(title="Agent Sandbox API")
14
  class IncommingMail(BaseModel):
15
  data: List[Dict[str, Any]] # requires a "data" field in JSON
16
  timestamp: str = datetime.utcnow().strftime("%Y%m%dT%H%M%SZ")
17
- id: str = uuid.uuid4())[:5]
18
 
19
  @property
20
  def file_path(self):
 
14
  class IncommingMail(BaseModel):
15
  data: List[Dict[str, Any]] # requires a "data" field in JSON
16
  timestamp: str = datetime.utcnow().strftime("%Y%m%dT%H%M%SZ")
17
+ id: str = uuid.uuid4().hex[:5]
18
 
19
  @property
20
  def file_path(self):