We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6a9e63 commit b1fb94fCopy full SHA for b1fb94f
tests/custom/sync/test_client.py
@@ -2,7 +2,7 @@
2
import pytest
3
from pathlib import Path
4
from unittest.mock import Mock, patch
5
-from humanloop.sync.sync_client import SyncClient
+from humanloop.sync.sync_client import SyncClient, SerializableFileType
6
from humanloop.error import HumanloopRuntimeError
7
from typing import Literal
8
@@ -65,7 +65,7 @@ def test_save_and_read_file(sync_client: SyncClient):
65
# GIVEN a file content and path
66
content = "test content"
67
path = "test/path"
68
- file_type = "prompt"
+ file_type: SerializableFileType = "prompt"
69
70
# WHEN saving the file
71
sync_client._save_serialized_file(content, path, "prompt")
0 commit comments