Skip to content

Commit 6f4b7a1

Browse files
authored
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)
1 parent 4fb7655 commit 6f4b7a1

File tree

1 file changed

+2
-0
lines changed
  • tensorboard/compat/tensorflow_stub

1 file changed

+2
-0
lines changed

tensorboard/compat/tensorflow_stub/flags.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ def __init__(self, flags_object):
7272
def __getattribute__(self, name):
7373
if name == "__dict__":
7474
return super().__getattribute__(name)
75+
elif name == "__class__":
76+
return super.__class__
7577
return self.__dict__["__wrapped"].__getattribute__(name)
7678

7779
def __getattr__(self, name):

0 commit comments

Comments
 (0)