insightsengineering / teal.data

Data model for teal applications
https://insightsengineering.github.io/teal.data/
Other
8 stars 7 forks source link

Simplify `extract_occurrence()` in `get_code_dependency` #292

Open m7pr opened 7 months ago

m7pr commented 7 months ago

Slowly, step by step, with every PR, we do cover more and more edge cases covered by get_code_dependency(). However this comes with a cost of extract_occurrence() becoming way too long. This card is raised to refactor this function and make it more readable. Comments in the code are welcome as well!