Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some common experimental warnings show internal line, not user code line #17474

Open
sryza opened this issue Oct 30, 2023 · 5 comments
Open

Some common experimental warnings show internal line, not user code line #17474

sryza opened this issue Oct 30, 2023 · 5 comments
Labels
type: bug Something isn't working

Comments

@sryza
Copy link
Contributor

sryza commented Oct 30, 2023

../../../dagster/python_modules/dagster/dagster/_core/decorator_utils.py:195
../../../dagster/python_modules/dagster/dagster/_core/decorator_utils.py:195
../../../dagster/python_modules/dagster/dagster/_core/decorator_utils.py:195
../../../dagster/python_modules/dagster/dagster/_core/decorator_utils.py:195
../../../dagster/python_modules/dagster/dagster/_core/decorator_utils.py:195
../../../dagster/python_modules/dagster/dagster/_core/decorator_utils.py:195
../../../dagster/python_modules/dagster/dagster/_core/decorator_utils.py:195
../../../dagster/python_modules/dagster/dagster/_core/decorator_utils.py:195
  /Users/sryza/dagster/python_modules/dagster/dagster/_core/decorator_utils.py:195: ExperimentalWarning: Parameter `auto_materialize_policy` of function `asset` is experimental. It may break in future versions, even between dot releases. To mute warnings for experimental functionality, invoke warnings.filterwarnings("ignore", category=dagster.ExperimentalWarning) or use one of the other methods described at https://docs.python.org/3/library/warnings.html#describing-warning-filters.
    return fn(*args, **kwargs)
@sryza sryza added the type: bug Something isn't working label Oct 30, 2023
@shzhng
Copy link

shzhng commented Jun 13, 2024

@sryza is there a way to silence these right now? I've tried the warnings.filterwarnings("ignore", category=dagster.ExperimentalWarning) in my assets root, but it doesn't do anything

@sryza
Copy link
Contributor Author

sryza commented Jun 13, 2024

Hey @shzhng - what warnings are you observing?

@garethbrickman
Copy link
Contributor

If you're using @dbt_assets, the cause for these experimental warnings could be this: #22528

@shzhng
Copy link

shzhng commented Jun 14, 2024

@garethbrickman those are exactly what I'm running up against

@garethbrickman
Copy link
Contributor

@shzhng Gotcha, that PR was merged so fix should go out in the next release this week 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants