Skip to content

Commit b1fb94f

Browse files
committed
Fix type error in test
1 parent f6a9e63 commit b1fb94f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/custom/sync/test_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import pytest
33
from pathlib import Path
44
from unittest.mock import Mock, patch
5-
from humanloop.sync.sync_client import SyncClient
5+
from humanloop.sync.sync_client import SyncClient, SerializableFileType
66
from humanloop.error import HumanloopRuntimeError
77
from typing import Literal
88

@@ -65,7 +65,7 @@ def test_save_and_read_file(sync_client: SyncClient):
6565
# GIVEN a file content and path
6666
content = "test content"
6767
path = "test/path"
68-
file_type = "prompt"
68+
file_type: SerializableFileType = "prompt"
6969

7070
# WHEN saving the file
7171
sync_client._save_serialized_file(content, path, "prompt")

0 commit comments

Comments
 (0)