Skip to content

Commit

Permalink
Update flags.py (#6751)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
lostinplace authored Feb 14, 2024
1 parent 4fb7655 commit 6f4b7a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tensorboard/compat/tensorflow_stub/flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 6f4b7a1

Please sign in to comment.