Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescalam committed Dec 13, 2024
1 parent 3faf6bc commit 7389606
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions semantic_router/schema.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from datetime import datetime
from datetime import datetime, timezone
from difflib import Differ
from enum import Enum
import json
Expand Down Expand Up @@ -64,7 +64,7 @@ class ConfigParameter(BaseModel):
value: str
scope: Optional[str] = None
created_at: str = Field(
default_factory=lambda: datetime.now(datetime.UTC).isoformat()
default_factory=lambda: datetime.now(timezone.utc).isoformat()
)

def to_pinecone(self, dimensions: int):
Expand Down

0 comments on commit 7389606

Please sign in to comment.