Can't insert into table
snake302 opened this issue · 1 comments
snake302 commented
Hi there,
I have spend 3 hours with your library, but everything ends when I am trying to insert something into DB:
Traceback (most recent call last):
File "/var/python/clickhouse.py", line 90, in
doubler()
File "/var/python/clickhouse.py", line 83, in doubler
appid])
File "/usr/local/lib/python3.6/dist-packages/infi/clickhouse_orm/database.py", line 199, in insert
if first_instance.is_read_only() or first_instance.is_system_model():
AttributeError: 'str' object has no attribute 'is_read_only'
vladimirteddy commented
How can you fix it AttributeError: 'str' object has no attribute 'is_read_only'
?