pony
pony copied to clipboard
show(instance_of_entity) produces an error "'list' object has no attribute '_translator'"
The api show
says it can print instance of an entity, but it will produce an error "'list' object has no attribute '_translator'
".
The api show
call QueryResult
as QueryResult([ x ], None, x.__class__, None).show()
where x
is the instance. The first argument is a python list, and it does not have the required _translator
for QueryResult
's constructor
after so many years, this bug still stay there 😭