betty.extension.gramps.config module

Provide configuration for the betty.extension.Gramps extension.

class betty.extension.gramps.config.FamilyTreeConfiguration(*, file_path=None)[source]

Bases: Configuration

Parameters:
file_path=None

dump()[source]

Dump this instance to a portable format.

Return type:

typing.Union[bool, int, float, str, None, typing.Sequence[typing.Union[bool, int, float, str, None, typing.Sequence[Dump], typing.Mapping[str, Dump]]], typing.Mapping[str, typing.Union[bool, int, float, str, None, typing.Sequence[Dump], typing.Mapping[str, Dump]]], type[betty.serde.dump.Void]]

property file_path : Path | None
classmethod load(dump, configuration=None)[source]

Load dumped configuration into a new configuration instance.

Parameters:
dump

configuration=None

Return type:

typing.Self

class betty.extension.gramps.config.FamilyTreeConfigurationSequence(configurations=None)[source]

Bases: ConfigurationSequence[FamilyTreeConfiguration]

Parameters:
configurations=None

update(other)[source]
Parameters:
other

Return type:

None

class betty.extension.gramps.config.GrampsConfiguration(*, family_trees=None)[source]

Bases: Configuration

Parameters:
family_trees=None

dump()[source]

Dump this instance to a portable format.

Return type:

typing.Union[bool, int, float, str, None, typing.Sequence[typing.Union[bool, int, float, str, None, typing.Sequence[Dump], typing.Mapping[str, Dump]]], typing.Mapping[str, typing.Union[bool, int, float, str, None, typing.Sequence[Dump], typing.Mapping[str, Dump]]], type[betty.serde.dump.Void]]

property family_trees : FamilyTreeConfigurationSequence
classmethod load(dump, configuration=None)[source]

Load dumped configuration into a new configuration instance.

Parameters:
dump

configuration=None

Return type:

typing.Self

update(other)[source]
Parameters:
other

Return type:

None