__init__.py
1 # SPDX-License-Identifier: MIT 2 # 3 # Copyright (c) 2021 The Anvil Extras project team members listed at 4 # https://github.com/anvilistas/anvil-extras/graphs/contributors 5 # 6 # This software is published at https://github.com/anvilistas/anvil-extras 7 8 from ._types import ( 9 MISSING, 10 NEVER, 11 any, 12 array, 13 boolean, 14 coerce, 15 date, 16 datetime, 17 enum, 18 float, 19 integer, 20 isinstance, 21 lazy, 22 list, 23 literal, 24 mapping, 25 never, 26 none, 27 not_required, 28 number, 29 object, 30 preprocess, 31 record, 32 string, 33 tuple, 34 typed_dict, 35 union, 36 unknown, 37 ) 38 from ._zod_error import ZodError, ZodIssueCode 39 40 ParseError = ZodError 41 IssueCode = ZodIssueCode 42 43 __version__ = "3.1.0" 44 45 __all__ = [] # it would be dangerous to do import *