Skip to content

Conversation

@nicopop
Copy link
Contributor

@nicopop nicopop commented Sep 29, 2024

A lot of the functions in helper.py are really usefull but in some situations importing them caused a circular import.
Not anymore*

To do so I removed any local (to manual) imports where I could and moved to a specific function where I couldnt

I also left a deprecation notice since I moved load_data_file from data.py to helpers for people (like me) that used it in hooks
|
|
|
* is because calling is_item/location/category_enabled in data or hooks/data will still be circular but why would you use it there...

@nicopop nicopop self-assigned this Sep 29, 2024
@FuzzyGamesOn FuzzyGamesOn removed their request for review October 3, 2024 14:26
@silasary silasary merged commit d24e93e into main Oct 4, 2024
@silasary silasary deleted the Detangling-Helper.py branch October 4, 2024 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants