2020-07-27 18:57:36 +00:00
|
|
|
"""
|
|
|
|
This file packages together other modules needed for usercode in order to create
|
|
|
|
a consistent API accessible with only "import grist".
|
|
|
|
"""
|
|
|
|
# pylint: disable=unused-import
|
|
|
|
|
|
|
|
# These imports are used in processing generated usercode.
|
|
|
|
from usertypes import Any, Text, Blob, Int, Bool, Date, DateTime, \
|
2021-05-12 14:34:49 +00:00
|
|
|
Numeric, Choice, ChoiceList, Id, Attachments, AltText, ifError
|
2020-07-27 18:57:36 +00:00
|
|
|
from usertypes import PositionNumber, ManualSortPos, Reference, ReferenceList, formulaType
|
|
|
|
from table import UserTable
|
|
|
|
from records import Record, RecordSet
|
2021-11-09 16:07:58 +00:00
|
|
|
from column import SafeSortKey
|
2020-07-27 18:57:36 +00:00
|
|
|
|
|
|
|
DOCS = [(__name__, (Record, RecordSet, UserTable)),
|
|
|
|
('lookup', (UserTable.lookupOne, UserTable.lookupRecords))]
|