contiamo / contiamo-client-python

MIT License
2 stars 2 forks source link

Add query_contract method to Client class. #2

Closed ian-contiamo closed 7 years ago

ian-contiamo commented 7 years ago

As an alternative to self.parent.parent.query_sql in query_all, we could define either:

self.parent_project = self.parent.parent
self.query_sql = self.parent.parent.query_sql

And then call:

self.parent_project.query_sql(...)
self.query_sql(...)