tiramisu-api-python/tiramisu_json_api/setting.py

12 lines
221 B
Python
Raw Normal View History

try:
from tiramisu.setting import undefined
except ModuleNotFoundError:
class Undefined(object):
def __str__(self):
return 'Undefined'
__repr__ = __str__
undefined = Undefined()