We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d3f180 commit fc952dfCopy full SHA for fc952df
1 file changed
irods/results.py
@@ -1,4 +1,3 @@
1
-from prettytable import PrettyTable
2
from irods.models import ModelBase
3
4
@@ -15,13 +14,15 @@ def __init__(self, raw):
15
14
self.continue_index = 0
16
17
def __str__(self):
+ from prettytable import PrettyTable
18
table = PrettyTable()
19
for col in self.cols:
20
table.add_column(ModelBase.columns()[col.attriInx].icat_key, col.value)
21
table.align = "l"
22
return table.get_string()
23
24
def get_html_string(self, *args, **kwargs):
25
26
27
28
0 commit comments