From c08730bd18913a936192b32161c4d5d4a75a9757 Mon Sep 17 00:00:00 2001 From: Chris Wheeler Date: Mon, 12 Feb 2024 13:14:35 -0500 Subject: [PATCH] Update flags.py fixes issue #6750 --- tensorboard/compat/tensorflow_stub/flags.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tensorboard/compat/tensorflow_stub/flags.py b/tensorboard/compat/tensorflow_stub/flags.py index b98d8739b55..25c9a13c922 100644 --- a/tensorboard/compat/tensorflow_stub/flags.py +++ b/tensorboard/compat/tensorflow_stub/flags.py @@ -72,6 +72,8 @@ def __init__(self, flags_object): def __getattribute__(self, name): if name == "__dict__": return super().__getattribute__(name) + elif name == "__class__": + return super.__class__ return self.__dict__["__wrapped"].__getattribute__(name) def __getattr__(self, name):