Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6015f3b commit 43ce185Copy full SHA for 43ce185
discos_client/namespace.py
@@ -600,7 +600,7 @@ def __format__(self, spec: str) -> str:
600
node, it delegates to `format(self._value, spec)`.
601
:raise ValueError: If the format specifier is unknown or malformed.
602
"""
603
- if self.__has_value__(self):
+ if self.__has_value__(self) and not isinstance(self._value, tuple):
604
with self._lock:
605
return format(self._value, spec)
606
0 commit comments