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

ModuleNotFoundError when calling print_diagnostic_checklist on an expectation #10904

Open
xaniasd opened this issue Jan 31, 2025 · 2 comments
Open

Comments

@xaniasd
Copy link
Contributor

xaniasd commented Jan 31, 2025

** Bug description **
Calling print_diagnostic_checklist() on an expectation raises ModuleNotFoundError: No module named 'tests.test_utils'. This bug must have been introduced in this change, with a (relative) import from a module seemingly intended for testing.

To Reproduce

from great_expectations import expectations as gxe
exp = gxe.ExpectColumnMaxToBeBetween(column="passenger_count", min_value=1, max_value=6)
exp.print_diagnostic_checklist()

Expected behavior
Print diagnostic information for the expectation

Environment (please complete the following information):

  • Operating System: [MacOS]
  • Great Expectations Version: [1.3.2+]
  • Data Source: [N/A]
  • Cloud environment: [N/A]

Additional context
N/A

@adeola-ak adeola-ak moved this from To Do to In progress in GX Core Issues Board Feb 3, 2025
@adeola-ak
Copy link
Contributor

hey @xaniasd do you mind sending the link to the change over again, that link seems to be broken. In trying to replicate this I am seeing a different error so I'd love to take a look at the change you think may be the culprit. Thanks

@xaniasd
Copy link
Contributor Author

xaniasd commented Feb 6, 2025

hi @adeola-ak, ah apologies. I updated the link in the PR description 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

No branches or pull requests

2 participants