Skip to content

Commit

Permalink
fix: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shamuiscoding committed Sep 12, 2024
1 parent 46255c1 commit eccf9d6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions weavel/_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@
from weavel._buffer_storage import BufferStorage
from weavel._api_client import APIClient, AsyncAPIClient
from weavel.utils import logger
from weavel.types.datasets import DatasetItem, Dataset, Prompt, PromptVersion
from weavel.types.response_format import ResponseFormat
from weavel.types import DatasetItem, Dataset, Prompt, PromptVersion, ResponseFormat

class Worker:
_instance = None
Expand Down
2 changes: 1 addition & 1 deletion weavel/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import time
from typing import Callable, Dict, List, Optional, Any, Union
from uuid import uuid4
from weavel.types.response_format import ResponseFormat
from weavel.types import ResponseFormat

from dotenv import load_dotenv
from weavel._worker import Worker
Expand Down
1 change: 1 addition & 0 deletions weavel/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
from .observations import *
from .records import *
from .session import *
from .response_format import *
2 changes: 1 addition & 1 deletion weavel/types/datasets.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import Any, Dict, List, Optional, Union
from pydantic import BaseModel
from response_format import ResponseFormat
from weavel.types import ResponseFormat

class DatasetItem(BaseModel):
uuid: Optional[str] = None
Expand Down

0 comments on commit eccf9d6

Please sign in to comment.