tiramisu/tiramisu/__init__.py

45 lines
1.6 KiB
Python
Raw Normal View History

2019-02-12 06:55:47 +01:00
# Copyright (C) 2012-2019 Team tiramisu (see AUTHORS for all contributors)
2013-09-22 22:33:09 +02:00
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by the
# Free Software Foundation, either version 3 of the License, or (at your
# option) any later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from .function import Params, ParamOption, ParamValue, ParamContext, \
tiramisu_copy
2017-10-22 09:48:08 +02:00
from .option import *
from .error import APIError
2018-10-31 18:26:20 +01:00
from .api import Config, MetaConfig, GroupConfig, MixConfig
2017-10-22 09:48:08 +02:00
from .option import __all__ as all_options
from .setting import owners, undefined
from .storage import default_storage_type, StorageType, list_sessions, \
delete_session
2017-10-22 09:48:08 +02:00
allfuncs = ['Params',
'ParamOption',
'ParamValue',
'ParamContext',
'MetaConfig',
2018-10-31 18:26:20 +01:00
'MixConfig',
2018-01-03 21:07:51 +01:00
'GroupConfig',
2018-04-04 16:47:28 +02:00
'Config',
'APIError',
2018-12-24 09:30:58 +01:00
'undefined',
'default_storage_type',
'StorageType',
'list_sessions',
'delete_session',
2018-12-24 09:30:58 +01:00
'tiramisu_copy']
2017-10-22 09:48:08 +02:00
allfuncs.extend(all_options)
del(all_options)
__all__ = tuple(allfuncs)
del(allfuncs)