Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 97fa52e

Browse files
AetherUnboundlabkey-nicka
authored andcommittedOct 30, 2018
Add __repr__ for QueryFilter (#16)
1 parent 9c0da86 commit 97fa52e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎labkey/query.py

+3
Original file line numberDiff line numberDiff line change
@@ -364,3 +364,6 @@ def get_url_parameter_value(self):
364364
def get_column_name(self):
365365
return self.column_name
366366

367+
def __repr__(self):
368+
return '<QueryFilter [{} {} {}]>'.format(self.column_name, self.filter_type, self.value)
369+

0 commit comments

Comments
 (0)
Please sign in to comment.