Skip to content

config_deployment_fields

relationalai.config

Deployment configuration sections for Config.

Most projects configure deployment behavior in a YAML file (typically raiconfig.yaml) under the deployment section. This module defines the Pydantic models that validate those settings: the deploy-specific scalars (schema, auto_deploy), named refresh schedules, and the outputs configuration (default reasoner / materialization / schedule plus per-output overrides).

You can also configure deployment defaults in code by passing dictionaries to the create_config factory function. This is useful for programmatic setup or for overrides in tests.

Start with DeploymentConfig (the top-level deployment section). Output defaults and per-output overrides live in OutputsConfig and OutputOverride, and named refresh cadences in ScheduleConfig.

Classes exposed by this module.