betty.gender module¶
Provide Betty’s ancestry genders.
- class betty.gender.Gender¶
Bases:
Plugin[GenderDefinition]Define a gender.
- final class betty.gender.GenderDefinition¶
Bases:
CountableHumanFacingDefinition,PluginClsDefinition[Gender]The gender plugin type.
Plugin type ID
genderDefinition
Built-in genders:
- man (
Man) - Man
- non-binary (
NonBinary) - Non-binary person
- unknown (
Unknown) - Person of unknown gender
- woman (
Woman) - Woman
From gender on Wikipedia:
Gender includes the social, psychological, cultural and behavioral aspects of being a man, woman, or other gender identity.
- __init__(plugin_id: ResolvableMachineName, *, label: ResolvableLocalizable, label_plural: ResolvableLocalizable, label_countable: CountableLocalizable, description: ResolvableLocalizable | None = None, requires: Requires = ())¶
- static type() PluginTypeDefinition[Self]¶
The plugin type definition.
- man (
- final class betty.gender.GenderManufacturer¶
Bases:
PluginManufacturer[GenderDefinition,Gender]The gender manufacturer.