jw-python/tools/python/jwutils
Jan Lindemann b33d9af302 schema.Table: Add add_child_row_location() and friends
Add the following methods:

 add_child_row_location(self, parent_table: Union[Self, str], **kwargs) -> Optional[str]
 add_child_row_location_rules(self) -> Iterable[str]
 add_child_row_location_rule(self, child_table: Union[Self, str]) -> Optional[str]

These are meant to be called from different pieces of code:

 - add_child_row_location() is meant to be used where the parent is
   rendered, to display a link to adding another child

 - add_child_row_location_rules() and add_child_row_location_rule()
   are meant to be invoked where processing is going to be done, i.e.
   likely code rendering child row content

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-02-15 16:30:14 +01:00
..
algo Fix bogus type errors dug up by mypy 2024-06-02 12:05:44 +02:00
asyncio Add Process and Signals support 2019-10-29 11:25:03 +01:00
auth jwutils: Add Auth 2025-02-14 14:29:30 +01:00
db schema.Table: Add add_child_row_location() and friends 2025-02-15 16:30:14 +01:00
stree String Tree: Fix order of overwrites 2025-01-28 07:18:50 +01:00
cast.py Add module jwutils.cast 2025-01-16 12:39:20 +01:00
Cmd.py Cmds / Cmd: Add comments and debug logging 2025-02-02 14:01:21 +01:00
Cmds.py Cmds / Cmd: Add comments and debug logging 2025-02-02 14:01:21 +01:00
Config.py Config: Add method entries() 2025-02-15 08:20:53 +01:00
CppState.py Add forgotten jwutils/CppState.py 2019-06-03 10:00:04 +02:00
log.py Fix errors reported by mypy 2025-01-29 16:51:07 +01:00
Makefile Rename the MODDIR makefile variable to JWBDIR 2019-06-29 23:32:20 +02:00
misc.py misc: Add load_function() 2025-01-29 16:54:10 +01:00
multi_key_dict.py Add multi_key_dict.py 2020-04-13 15:14:52 +02:00
Object.py Fix Python errors reported by mypy 2020-04-10 14:17:15 +02:00
Process.py Add type annotations from monkeytype + jw-devops/test 2020-04-10 17:55:36 +02:00
RedirectStdIO.py Rename MuteStdIO to RedirectStdIO 2017-07-26 11:40:35 +02:00
Signals.py Fix Python errors reported by mypy 2020-04-10 14:17:15 +02:00
StopWatch.py StopWatch: Fix compilation error 2024-12-03 13:34:26 +01:00