Module loglan_db.model_db.addons.addon_word_linker
This module contains an addon for basic Word Model, which makes it possible to specify the authors and derivatives of words
Classes
class AddonWordLinker
-
AddonWordLinker Model
Class variables
Methods
-
Connect Author object with BaseWord object
Args
author
- BaseAuthor:
Returns:
-
Connect Author objects with BaseWord object
Args
authors
- List[BaseAuthor]:
Returns:
def add_child(self, child: BaseWord) ‑> str
-
Add derivative for the source word Get words from Used In and add relationship in database
Args
child
- BaseWord: Object to add
Returns
String with the name of the added child (BaseWord.name)
def add_children(self, children: List[BaseWord])
-
Add derivatives for the source word Get words from Used In and add relationship in database
Args
children
- List[BaseWord]:
Returns
None