From 59b51d256e2403cb17db02894ec095a3dec3488e Mon Sep 17 00:00:00 2001 From: Mark Daoust Date: Fri, 9 Jan 2026 16:01:59 -0800 Subject: [PATCH] No public description PiperOrigin-RevId: 854375206 --- google/genai/_interactions/_files.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) )