Merge pull request #14109 from vrslev/fix-qb-autocomplete
feat: Query Builder autocomplete hack
This commit is contained in:
commit
5b78407789
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