chore: Query Builder autocomplete hack
This commit is contained in:
parent
a3a2d96579
commit
6f114b1c19
1 changed files with 4 additions and 0 deletions
|
|
@ -140,7 +140,11 @@ lang = local("lang")
|
|||
if typing.TYPE_CHECKING:
|
||||
from frappe.database.mariadb.database import MariaDBDatabase
|
||||
from frappe.database.postgres.database import PostgresDatabase
|
||||
from pypika import Query
|
||||
|
||||
db: typing.Union[MariaDBDatabase, PostgresDatabase]
|
||||
qb: Query
|
||||
|
||||
# end: static analysis hack
|
||||
|
||||
def init(site, sites_path=None, new_site=False):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue