PyPika is a python SQL query builder that exposes the full richness of the SQL language using a syntax that reflects the resulting query. PyPika excels at all sorts of SQL queries but is especially useful for data analysis.
According to the signature of Field.__init__, the argument table can be of type str. Therefore, we should also check the type and ensure that self.table is assigned a Table object.
According to the signature of
Field.__init__
, the argumenttable
can be of typestr
. Therefore, we should also check the type and ensure thatself.table
is assigned aTable
object.