Problemunvalidated
However, as there are many such functions registering different things, and the lookup criteria is the same, it got repetitive typing the same thing over and over again within the decorated functions. — When placed inside the decorated function, the lookup works without issue. Tension: I tried to move the lookup function into a separate function. Outcome: You should remove ` = our_db` from the signature of `get_db_entry` function and pass this parameter explicitly when you call it.
fc04dccc-dd5b-4aab-821d-bd736c14dd5b
However, as there are many such functions registering different things, and the lookup criteria is the same, it got repetitive typing the same thing over and over again within the decorated functions. — When placed inside the decorated function, the lookup works without issue. Tension: I tried to move the lookup function into a separate function. Outcome: You should remove = our_db from the signature of get_db_entry function and pass this parameter explicitly when you call it.