CamelCaseSettings#

pydantic settings mobu.config.CamelCaseSettings#

Base class for Pydantic settings supporting camel-case.

This base class also forbids all extra attributes. It should be used as the base class (possibly indirectly) for all Gafaelfawr configuration models that support environment variable overrides.

Parameters:

Show JSON schema
{
   "title": "CamelCaseSettings",
   "description": "Base class for Pydantic settings supporting camel-case.\n\nThis base class also forbids all extra attributes. It should be used as\nthe base class (possibly indirectly) for all Gafaelfawr configuration\nmodels that support environment variable overrides.",
   "type": "object",
   "properties": {},
   "additionalProperties": false
}

Config:
  • alias_generator: AliasGenerator = AliasGenerator(alias=None, validation_alias=<function to_camel at 0x7f7d22a1acf0>, serialization_alias=None)

  • validate_by_name: bool = True

This page was last modified on .