Skip to content

Commit f305d3d

Browse files
author
Saimon Michelson
committed
update bool
1 parent 3044413 commit f305d3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cterasdk/clients/clients.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ def __call__(self, *_args, **_kwargs):
453453
self._raise_error()
454454

455455
def __bool__(self):
456-
self._raise_error()
456+
return False
457457

458458
def __repr__(self):
459459
return f'<{self._name} is unavailable in the current context>'

0 commit comments

Comments
 (0)