Skip to content

Commit 85c95a8

Browse files
google-genai-botcopybara-github
authored andcommitted
feat: Add create_time and mime_type to ArtifactVersion
PiperOrigin-RevId: 819396924
1 parent cb6d583 commit 85c95a8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/google/adk/artifacts/base_artifact_service.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
from abc import ABC
1717
from abc import abstractmethod
18-
from datetime import datetime
1918
from typing import Any
2019
from typing import Optional
2120

@@ -29,10 +28,6 @@ class ArtifactVersion(BaseModel):
2928

3029
version: int
3130
"""The version number of the artifact."""
32-
create_time: float = Field(default_factory=lambda: datetime.now().timestamp())
33-
"""The creation time of the artifact version."""
34-
mime_type: Optional[str] = None
35-
"""The MIME type of the artifact version."""
3631
canonical_uri: str
3732
"""The canonical URI of the artifact version."""
3833
custom_metadata: dict[str, Any] = Field(default_factory=dict)

0 commit comments

Comments
 (0)