From 127824c02630d898fc03792f166ec2257f0cfd6b Mon Sep 17 00:00:00 2001 From: Itai Shirav Date: Fri, 1 May 2020 16:28:15 +0300 Subject: [PATCH] TRIVIAL add __repr__ to Field class --- src/infi/clickhouse_orm/fields.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/infi/clickhouse_orm/fields.py b/src/infi/clickhouse_orm/fields.py index bf370ea..0290e87 100644 --- a/src/infi/clickhouse_orm/fields.py +++ b/src/infi/clickhouse_orm/fields.py @@ -45,6 +45,9 @@ class Field(FunctionOperatorsMixin): def __str__(self): return self.name + def __repr__(self): + return '<%s>' % self.__class__.__name__ + def to_python(self, value, timezone_in_use): ''' Converts the input value into the expected Python data type, raising ValueError if the