Source code for dimcat.dc_warnings
import logging
module_logger = logging.getLogger(__name__)
[docs]class OrderOfPipelineStepsWarning(UserWarning):
"""This warning is shown when the order of pipeline steps may lead to unexpected behaviour."""
pass
[docs]class PotentiallyMisalignedPackageUserWarning(UserWarning):
"""This warning is shown when resources are added to a package whose status is not ALLOW_MISALIGNMENT
but which has no defined basepath."""
pass
[docs]class ResourceWithRangeIndexUserWarning(UserWarning):
"""This warning is shown when a resource has a range index, which is typically the case
for dataframes holding information for single piece only.
"""
pass