# This file was auto-generated by Fern from our API Definition.

# isort: skip_file

import typing
from importlib import import_module

if typing.TYPE_CHECKING:
    from .agreement_annotator_stats_response import AgreementAnnotatorStatsResponse
    from .agreement_annotators_stats_response import AgreementAnnotatorsStatsResponse
    from .data_filters_stats_response import DataFiltersStatsResponse
    from .data_filters_stats_response_user_filters import DataFiltersStatsResponseUserFilters
    from .data_filters_stats_response_user_filters_stats_item import DataFiltersStatsResponseUserFiltersStatsItem
    from .finished_tasks_stats_response import FinishedTasksStatsResponse
    from .iaa_stats_response import IaaStatsResponse
    from .iaa_stats_response_common_tasks import IaaStatsResponseCommonTasks
    from .iaa_stats_response_iaa import IaaStatsResponseIaa
    from .iaa_stats_response_std import IaaStatsResponseStd
    from .lead_time_stats_response import LeadTimeStatsResponse
    from .lead_time_stats_response_lead_time_stats_item import LeadTimeStatsResponseLeadTimeStatsItem
    from .model_version_annotator_agreement_stats_response import ModelVersionAnnotatorAgreementStatsResponse
    from .model_version_ground_truth_agreement_stats_response import ModelVersionGroundTruthAgreementStatsResponse
    from .model_version_prediction_agreement_stats_response import ModelVersionPredictionAgreementStatsResponse
    from .total_agreement_stats_response import TotalAgreementStatsResponse
    from .total_agreement_stats_response_one import TotalAgreementStatsResponseOne
    from .total_agreement_stats_response_zero import TotalAgreementStatsResponseZero
    from .user_ground_truth_agreement_stats_response import UserGroundTruthAgreementStatsResponse
    from .user_ground_truth_agreement_stats_response_agreement import UserGroundTruthAgreementStatsResponseAgreement
    from .user_prediction_agreement_stats_response import UserPredictionAgreementStatsResponse
    from .user_prediction_agreement_stats_response_average_prediction_agreement_per_user import (
        UserPredictionAgreementStatsResponseAveragePredictionAgreementPerUser,
    )
    from .user_review_score_stats_response import UserReviewScoreStatsResponse
    from .user_review_score_stats_response_performance_score import UserReviewScoreStatsResponsePerformanceScore
    from .user_review_score_stats_response_review_score import UserReviewScoreStatsResponseReviewScore
    from .users_ground_truth_agreement_stats_response import UsersGroundTruthAgreementStatsResponse
    from .users_ground_truth_agreement_stats_response_agreement_value import (
        UsersGroundTruthAgreementStatsResponseAgreementValue,
    )
    from .users_prediction_agreement_stats_response import UsersPredictionAgreementStatsResponse
    from .users_prediction_agreement_stats_response_agreement_value import (
        UsersPredictionAgreementStatsResponseAgreementValue,
    )
    from .users_review_score_stats_response import UsersReviewScoreStatsResponse
    from .users_review_score_stats_response_performance_score_value import (
        UsersReviewScoreStatsResponsePerformanceScoreValue,
    )
    from .users_review_score_stats_response_review_score_value import UsersReviewScoreStatsResponseReviewScoreValue
_dynamic_imports: typing.Dict[str, str] = {
    "AgreementAnnotatorStatsResponse": ".agreement_annotator_stats_response",
    "AgreementAnnotatorsStatsResponse": ".agreement_annotators_stats_response",
    "DataFiltersStatsResponse": ".data_filters_stats_response",
    "DataFiltersStatsResponseUserFilters": ".data_filters_stats_response_user_filters",
    "DataFiltersStatsResponseUserFiltersStatsItem": ".data_filters_stats_response_user_filters_stats_item",
    "FinishedTasksStatsResponse": ".finished_tasks_stats_response",
    "IaaStatsResponse": ".iaa_stats_response",
    "IaaStatsResponseCommonTasks": ".iaa_stats_response_common_tasks",
    "IaaStatsResponseIaa": ".iaa_stats_response_iaa",
    "IaaStatsResponseStd": ".iaa_stats_response_std",
    "LeadTimeStatsResponse": ".lead_time_stats_response",
    "LeadTimeStatsResponseLeadTimeStatsItem": ".lead_time_stats_response_lead_time_stats_item",
    "ModelVersionAnnotatorAgreementStatsResponse": ".model_version_annotator_agreement_stats_response",
    "ModelVersionGroundTruthAgreementStatsResponse": ".model_version_ground_truth_agreement_stats_response",
    "ModelVersionPredictionAgreementStatsResponse": ".model_version_prediction_agreement_stats_response",
    "TotalAgreementStatsResponse": ".total_agreement_stats_response",
    "TotalAgreementStatsResponseOne": ".total_agreement_stats_response_one",
    "TotalAgreementStatsResponseZero": ".total_agreement_stats_response_zero",
    "UserGroundTruthAgreementStatsResponse": ".user_ground_truth_agreement_stats_response",
    "UserGroundTruthAgreementStatsResponseAgreement": ".user_ground_truth_agreement_stats_response_agreement",
    "UserPredictionAgreementStatsResponse": ".user_prediction_agreement_stats_response",
    "UserPredictionAgreementStatsResponseAveragePredictionAgreementPerUser": ".user_prediction_agreement_stats_response_average_prediction_agreement_per_user",
    "UserReviewScoreStatsResponse": ".user_review_score_stats_response",
    "UserReviewScoreStatsResponsePerformanceScore": ".user_review_score_stats_response_performance_score",
    "UserReviewScoreStatsResponseReviewScore": ".user_review_score_stats_response_review_score",
    "UsersGroundTruthAgreementStatsResponse": ".users_ground_truth_agreement_stats_response",
    "UsersGroundTruthAgreementStatsResponseAgreementValue": ".users_ground_truth_agreement_stats_response_agreement_value",
    "UsersPredictionAgreementStatsResponse": ".users_prediction_agreement_stats_response",
    "UsersPredictionAgreementStatsResponseAgreementValue": ".users_prediction_agreement_stats_response_agreement_value",
    "UsersReviewScoreStatsResponse": ".users_review_score_stats_response",
    "UsersReviewScoreStatsResponsePerformanceScoreValue": ".users_review_score_stats_response_performance_score_value",
    "UsersReviewScoreStatsResponseReviewScoreValue": ".users_review_score_stats_response_review_score_value",
}


def __getattr__(attr_name: str) -> typing.Any:
    module_name = _dynamic_imports.get(attr_name)
    if module_name is None:
        raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
    try:
        module = import_module(module_name, __package__)
        if module_name == f".{attr_name}":
            return module
        else:
            return getattr(module, attr_name)
    except ImportError as e:
        raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
    except AttributeError as e:
        raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e


def __dir__():
    lazy_attrs = list(_dynamic_imports.keys())
    return sorted(lazy_attrs)


__all__ = [
    "AgreementAnnotatorStatsResponse",
    "AgreementAnnotatorsStatsResponse",
    "DataFiltersStatsResponse",
    "DataFiltersStatsResponseUserFilters",
    "DataFiltersStatsResponseUserFiltersStatsItem",
    "FinishedTasksStatsResponse",
    "IaaStatsResponse",
    "IaaStatsResponseCommonTasks",
    "IaaStatsResponseIaa",
    "IaaStatsResponseStd",
    "LeadTimeStatsResponse",
    "LeadTimeStatsResponseLeadTimeStatsItem",
    "ModelVersionAnnotatorAgreementStatsResponse",
    "ModelVersionGroundTruthAgreementStatsResponse",
    "ModelVersionPredictionAgreementStatsResponse",
    "TotalAgreementStatsResponse",
    "TotalAgreementStatsResponseOne",
    "TotalAgreementStatsResponseZero",
    "UserGroundTruthAgreementStatsResponse",
    "UserGroundTruthAgreementStatsResponseAgreement",
    "UserPredictionAgreementStatsResponse",
    "UserPredictionAgreementStatsResponseAveragePredictionAgreementPerUser",
    "UserReviewScoreStatsResponse",
    "UserReviewScoreStatsResponsePerformanceScore",
    "UserReviewScoreStatsResponseReviewScore",
    "UsersGroundTruthAgreementStatsResponse",
    "UsersGroundTruthAgreementStatsResponseAgreementValue",
    "UsersPredictionAgreementStatsResponse",
    "UsersPredictionAgreementStatsResponseAgreementValue",
    "UsersReviewScoreStatsResponse",
    "UsersReviewScoreStatsResponsePerformanceScoreValue",
    "UsersReviewScoreStatsResponseReviewScoreValue",
]
