You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
orquestrador/shared/contracts/__init__.py

134 lines
4.0 KiB
Python

"""Contratos compartilhados entre product e admin."""
from shared.contracts.access_control import (
AdminPermission,
StaffRole,
normalize_staff_role,
permissions_for_role,
role_has_permission,
role_includes,
)
from shared.contracts.bot_governed_configuration import (
BOT_GOVERNED_SETTINGS,
BotGovernanceArea,
BotGovernanceMutability,
BotGovernedSettingContract,
get_bot_governed_setting,
)
from shared.contracts.model_runtime_separation import (
MODEL_RUNTIME_PROFILES,
MODEL_RUNTIME_SEPARATION_RULES,
ModelRuntimePurpose,
ModelRuntimeSeparationContract,
ModelRuntimeSeparationRule,
ModelRuntimeTarget,
get_model_runtime_contract,
)
from shared.contracts.product_operational_data import (
PRODUCT_OPERATIONAL_DATASETS,
OperationalConsistencyModel,
OperationalDataDomain,
OperationalDataSensitivity,
OperationalDatasetContract,
OperationalFieldContract,
OperationalFreshnessTarget,
OperationalQuerySurface,
OperationalReadGranularity,
OperationalReadModel,
OperationalStorageShape,
OperationalSyncStrategy,
get_operational_dataset,
)
from shared.contracts.system_functional_configuration import (
SYSTEM_FUNCTIONAL_CONFIGURATIONS,
FunctionalConfigurationContract,
FunctionalConfigurationDomain,
FunctionalConfigurationFieldContract,
FunctionalConfigurationMutability,
FunctionalConfigurationPropagation,
FunctionalConfigurationSource,
get_functional_configuration,
)
from shared.contracts.tool_publication import (
GENERATED_TOOL_ENTRYPOINT,
GENERATED_TOOLS_PACKAGE,
GENERATED_TOOL_PUBLICATION_MANIFEST,
PublishedToolContract,
ServiceName,
TOOL_LIFECYCLE_STAGES,
TOOL_LIFECYCLE_STATUS_SEQUENCE,
ToolLifecycleStageContract,
ToolLifecycleStatus,
ToolParameterContract,
ToolParameterType,
ToolPublicationEnvelope,
ToolRuntimePublicationManifest,
build_generated_tool_file_path,
build_generated_tool_module_name,
build_generated_tool_module_path,
get_generated_tool_publication_manifest_path,
get_generated_tools_runtime_dir,
get_tool_lifecycle_stage,
)
__all__ = [
"AdminPermission",
"BOT_GOVERNED_SETTINGS",
"GENERATED_TOOL_ENTRYPOINT",
"GENERATED_TOOLS_PACKAGE",
"GENERATED_TOOL_PUBLICATION_MANIFEST",
"MODEL_RUNTIME_PROFILES",
"MODEL_RUNTIME_SEPARATION_RULES",
"PRODUCT_OPERATIONAL_DATASETS",
"PublishedToolContract",
"SYSTEM_FUNCTIONAL_CONFIGURATIONS",
"ServiceName",
"StaffRole",
"TOOL_LIFECYCLE_STAGES",
"TOOL_LIFECYCLE_STATUS_SEQUENCE",
"ToolLifecycleStageContract",
"ToolLifecycleStatus",
"ToolParameterContract",
"ToolParameterType",
"ToolPublicationEnvelope",
"ToolRuntimePublicationManifest",
"BotGovernanceArea",
"BotGovernanceMutability",
"BotGovernedSettingContract",
"ModelRuntimePurpose",
"ModelRuntimeSeparationContract",
"ModelRuntimeSeparationRule",
"ModelRuntimeTarget",
"OperationalConsistencyModel",
"OperationalDataDomain",
"OperationalDataSensitivity",
"OperationalDatasetContract",
"OperationalFieldContract",
"OperationalFreshnessTarget",
"OperationalQuerySurface",
"OperationalReadGranularity",
"OperationalReadModel",
"OperationalStorageShape",
"OperationalSyncStrategy",
"FunctionalConfigurationContract",
"FunctionalConfigurationDomain",
"FunctionalConfigurationFieldContract",
"FunctionalConfigurationMutability",
"FunctionalConfigurationPropagation",
"FunctionalConfigurationSource",
"build_generated_tool_file_path",
"build_generated_tool_module_name",
"build_generated_tool_module_path",
"get_bot_governed_setting",
"get_functional_configuration",
"get_generated_tool_publication_manifest_path",
"get_generated_tools_runtime_dir",
"get_model_runtime_contract",
"get_operational_dataset",
"get_tool_lifecycle_stage",
"normalize_staff_role",
"permissions_for_role",
"role_has_permission",
"role_includes",
]