diff --git a/src/anthropic/_files.py b/src/anthropic/_files.py index f2a6f94e..ee69d8d1 100644 --- a/src/anthropic/_files.py +++ b/src/anthropic/_files.py @@ -25,9 +25,7 @@ def is_base64_file_input(obj: object) -> TypeGuard[Base64FileInput]: def is_file_content(obj: object) -> TypeGuard[FileContent]: - return ( - isinstance(obj, bytes) or isinstance(obj, tuple) or isinstance(obj, io.IOBase) or isinstance(obj, os.PathLike) - ) + return isinstance(obj, bytes) or isinstance(obj, io.IOBase) or isinstance(obj, os.PathLike) def assert_is_file_content(obj: object, *, key: str | None = None) -> None: