You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a case where i just do this and this ends with duplicates but it was not posible to reproduce on an simple example:
all_assets=load_assets_from_current_module()
Assets are not really duplicated and this happens only when the .py is part of a bigger package with multiple relationships, and it was working ok on 1.9.6 (not on 1.9.7).
Looks like this function find_objects_in_module_of_types could generate duplicates reading the variable "all_assets" as a list on some cases, maybe cached results?
Not loading the same variable that is using to save the load and avoiding duplicates or strange behaviors
How to reproduce?
I couldn't make a working test case and the original repo is private, but this should throw the error of duplicates (it doesn't, only on edge cases with import to a definition.py and even that isn't reproducible)
What's the issue?
I have a case where i just do this and this ends with duplicates but it was not posible to reproduce on an simple example:
Assets are not really duplicated and this happens only when the .py is part of a bigger package with multiple relationships, and it was working ok on 1.9.6 (not on 1.9.7).
Looks like this function find_objects_in_module_of_types could generate duplicates reading the variable "all_assets" as a list on some cases, maybe cached results?
as an example doing:
works ok.
Removing an import from a definitions.py also makes all_assets = load_assets_from_current_module() to work ok.
I suspect this part loads the same all_assets variable on the edge cases:
because doing this all fixes the issue:
What did you expect to happen?
Not loading the same variable that is using to save the load and avoiding duplicates or strange behaviors
How to reproduce?
I couldn't make a working test case and the original repo is private, but this should throw the error of duplicates (it doesn't, only on edge cases with import to a definition.py and even that isn't reproducible)
Dagster version
1.9.11
Deployment type
Local
Deployment details
No response
Additional information
No response
Message from the maintainers
Impacted by this issue? Give it a 👍! We factor engagement into prioritization.
The text was updated successfully, but these errors were encountered: