Skip to content

Commit

Permalink
Update uuid7 generation package (#944)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkuzmik authored Dec 20, 2024
1 parent fbc0a5f commit 580d962
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sdks/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"tenacity",
"tokenizers<0.21.0 ; python_version<'3.9.0'", # no 3.8 support starting from 0.21.0
"tqdm",
"uuid7<1.0.0",
"uuid6",
],
entry_points={
"pytest11": [
Expand Down
4 changes: 2 additions & 2 deletions sdks/python/src/opik/api_objects/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
import logging
from typing import Optional

import uuid_extensions
import uuid6

from .. import config, datetime_helpers, logging_messages

LOGGER = logging.getLogger(__name__)


def generate_id() -> str:
return str(uuid_extensions.uuid7())
return str(uuid6.uuid7())


def datetime_to_iso8601_if_not_None(
Expand Down

0 comments on commit 580d962

Please sign in to comment.