2020-07-27 14:57:36 -04: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 10:34:49 -04:00
|
|
|
Numeric, Choice, ChoiceList, Id, Attachments, AltText, ifError
|
2020-07-27 14:57:36 -04:00
|
|
|
from usertypes import PositionNumber, ManualSortPos, Reference, ReferenceList, formulaType
|
|
|
|
|
from table import UserTable
|
|
|
|
|
from records import Record, RecordSet
|
2021-11-09 18:07:58 +02:00
|
|
|
from column import SafeSortKey
|
2020-07-27 14:57:36 -04:00
|
|
|
|
|
|
|
|
DOCS = [(__name__, (Record, RecordSet, UserTable)),
|
|
|
|
|
('lookup', (UserTable.lookupOne, UserTable.lookupRecords))]
|