Source code for wuttasync.conf

# -*- coding: utf-8; -*-
################################################################################
#
#  WuttaSync -- Wutta Framework for data import/export and real-time sync
#  Copyright © 2024-2026 Lance Edgar
#
#  This file is part of Wutta Framework.
#
#  Wutta Framework is free software: you can redistribute it and/or modify it
#  under the terms of the GNU General Public License as published by the Free
#  Software Foundation, either version 3 of the License, or (at your option) any
#  later version.
#
#  Wutta Framework 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 General Public License for
#  more details.
#
#  You should have received a copy of the GNU General Public License along with
#  Wutta Framework.  If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
"""
WuttaSync config extension
"""

from wuttjamaican.conf import WuttaConfigExtension


[docs] class WuttaSyncConfig(WuttaConfigExtension): """ Config extension for WuttaSync. This just configures some default import/export handlers. """ key = "wuttasync" def configure(self, config): # pylint: disable=empty-docstring """ """ # default import/export handlers config.setdefault( "wuttasync.importing.import.to_wutta.from_wutta.default_handler", "wuttasync.importing.wutta:FromWuttaToWuttaImport", ) config.setdefault( "wuttasync.importing.export.to_wutta.from_wutta.default_handler", "wuttasync.importing.wutta:FromWuttaToWuttaExport", )