| 1 |
from typing import List, Optional |
| 2 |
from datetime import datetime |
| 3 |
|
| 4 |
from ..._models import BaseModel |
| 5 |
from .beta_container_skill import BetaContainerSkill |
| 6 |
|
| 7 |
__all__ = ["BetaContainer"] |
| 8 |
|
| 9 |
|
| 10 |
class BetaContainer(BaseModel): |
| 11 |
""" |
| 12 |
Information about the container used in the request (for the code execution tool) |
| 13 |
""" |
| 14 |
|
| 15 |
id: str |
| 16 |
"""Identifier for the container used in this request""" |
| 17 |
|
| 18 |
expires_at: datetime |
| 19 |
"""The time at which the container will expire.""" |
| 20 |
|
| 21 |
skills: Optional[List[BetaContainerSkill]] = None |
| 22 |
"""Skills loaded in the container""" |