From 6f4b7a14d7052066b5b4f9c3b039f4fd4d66f6ef Mon Sep 17 00:00:00 2001 From: Chris Wheeler Date: Wed, 14 Feb 2024 17:47:08 -0500 Subject: [PATCH] Update flags.py (#6751) fixes issue #6750 ## Motivation for features / changes I needed to debug in pycharm ## Technical description of changes jsut updated the behavior so it appropriately recognized the keyword ## Screenshots of UI changes (or N/A) ## Detailed steps to verify changes work correctly (as executed by you) ## Alternate designs / implementations considered (or N/A) --- 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):