linkahead.utils.reset_override module#
Reset name / description overrides of properties.
The following entities have their property reset:
FIND <Role> [<Entity name>] WITH <property-name>
- linkahead.utils.reset_override.main()#
The main function of this script.
- linkahead.utils.reset_override.reset_overrides(role: str, ent_name: str, prop_name: str, dry_run: bool = False)#
Reset name and description overrides for the given entities.
- Parameters:
role (str) – The role to search for.
ent_name (str) – The entity name to search for.
prop_name (str) – The property name to search for.
dry_run (bool, default=False) – If True, make no changes to the database.
- linkahead.utils.reset_override.reset_overrides_all(role: str, dry_run: bool = False)#
Reset all name and description overrides, for the given role.
- Parameters:
role (str) – The role to search for
dry_run (bool, default=False) – If True, make no changes to the database.