From ff38ce80bfa44d857f1d600478f9cffeba89a7dc Mon Sep 17 00:00:00 2001 From: csgulati09 Date: Tue, 5 Nov 2024 15:41:48 +0530 Subject: [PATCH] fix: log export ret type --- portkey_ai/api_resources/types/logs_type.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/portkey_ai/api_resources/types/logs_type.py b/portkey_ai/api_resources/types/logs_type.py index 0b9f9f4..092fe39 100644 --- a/portkey_ai/api_resources/types/logs_type.py +++ b/portkey_ai/api_resources/types/logs_type.py @@ -1,6 +1,5 @@ import json from typing import Any, Dict, List, Optional -from datetime import datetime import httpx from pydantic import BaseModel, PrivateAttr from portkey_ai.api_resources.types.utils import parse_headers @@ -88,8 +87,8 @@ class LogsExportRetrieveResponse(BaseModel): requested_data: Optional[List[str]] status: Optional[str] description: Optional[str] - created_at: Optional[datetime] - last_updated_at: Optional[datetime] + created_at: Optional[str] + last_updated_at: Optional[str] created_by: Optional[str] workspace_id: Optional[str] total_records: Optional[int]