diff --git a/google/genai/_interactions/_files.py b/google/genai/_interactions/_files.py index f2ddd9cc5..b1e81839d 100644 --- a/google/genai/_interactions/_files.py +++ b/google/genai/_interactions/_files.py @@ -42,7 +42,8 @@ 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) + isinstance(obj, bytes) or isinstance(obj, tuple) or + isinstance(obj, io.IOBase) or isinstance(obj, os.PathLike) )