summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/sql/base.py')
-rw-r--r--lib/sqlalchemy/sql/base.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/base.py b/lib/sqlalchemy/sql/base.py
index 1752a4dc1..8186f6ade 100644
--- a/lib/sqlalchemy/sql/base.py
+++ b/lib/sqlalchemy/sql/base.py
@@ -101,6 +101,9 @@ if not TYPE_CHECKING:
class _NoArg(Enum):
NO_ARG = 0
+ def __repr__(self):
+ return f"_NoArg.{self.name}"
+
NO_ARG = _NoArg.NO_ARG