class Config(BaseConfig): str_field: str int_field: int bool_field: bool str_list_field: List[str] str_dict_field: Dict[str, str] timedelta_field: timedelta subconfig: SubConfig subconfigs: Dict[str, SubConfig] = configfield(skip=True)
class Config(BaseConfig): timedelta_field: timedelta = configfield(default=timedelta(days=1))
class Config(BaseConfig): str_field: str = configfield(force_trailing_slash=True)
class Config(BaseConfig): timedelta_field: timedelta = configfield(force_suffix=False)
class Config(BaseConfig): str_field: str = configfield(default="foo_default") skip_field: str = configfield(skip=True)