We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd0a00f commit 76e8ac9Copy full SHA for 76e8ac9
1 file changed
src/humanloop/overload.py
@@ -120,7 +120,7 @@ def _handle_local_files(
120
return kwargs
121
122
try:
123
- file_content = sync_client.get_file_content(normalized_path, file_type) # type: ignore [arg-type]
+ file_content = sync_client.get_file_content(normalized_path, file_type) # type: ignore[arg-type] # file_type was checked above
124
kwargs[file_type] = file_content
125
except HumanloopRuntimeError as e:
126
raise HumanloopRuntimeError(f"Failed to use local file for `{normalized_path}`: {str(e)}")
0 commit comments