7570f6b769
* chore: re-export symbols in __init__.py files * release note
17 lines
517 B
Python
17 lines
517 B
Python
# SPDX-FileCopyrightText: 2022-present deepset GmbH <info@deepset.ai>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
import sys
|
|
from typing import TYPE_CHECKING
|
|
|
|
from lazy_imports import LazyImporter
|
|
|
|
_import_structure = {"protocol": ["Marshaller"], "yaml": ["YamlMarshaller"]}
|
|
|
|
if TYPE_CHECKING:
|
|
from .protocol import Marshaller as Marshaller
|
|
from .yaml import YamlMarshaller as YamlMarshaller
|
|
else:
|
|
sys.modules[__name__] = LazyImporter(name=__name__, module_file=__file__, import_structure=_import_structure)
|