Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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()
|
| 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):
|