-
Notifications
You must be signed in to change notification settings - Fork 82
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
AttributeError: Can't pickle local object 'merge_configuration_file.<locals>.<lambda>'
#163
Labels
Comments
Hmm, let me send a fix and a test for the parallel execution. Sorry about the breakage. |
fsouza
added a commit
that referenced
this issue
Oct 11, 2022
Also make sure we finally have a test for the multiprocessing logic.
I have a reproducer in #164. I'll push a fix in that same PR in ~1 hour. |
fsouza
added a commit
that referenced
this issue
Oct 11, 2022
This makes sure that we don't break multiprocessing. Also introduce a test to prevent future regressions. I should have added that test ages ago :) Closes #163.
fsouza
added a commit
that referenced
this issue
Oct 11, 2022
This makes sure that we don't break multiprocessing. Also introduce a test to prevent future regressions. I should have added that test ages ago :) Use --check and a set in the test to avoid flakiness. Closes #163.
fsouza
added a commit
that referenced
this issue
Oct 11, 2022
This makes sure that we don't break multiprocessing. Also introduce a test to prevent future regressions. I should have added that test ages ago :) Use --check and a set in the test to avoid flakiness. Closes #163.
fsouza
added a commit
that referenced
this issue
Oct 11, 2022
This makes sure that we don't break multiprocessing. Also introduce a test to prevent future regressions. I should have added that test ages ago :) Use --check and a set in the test to avoid flakiness. Closes #163.
Thanks for the quick fix @fsouza! Much appreciated! |
Confirmed it works now. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Getting an error when attempting to use autoflake:
AttributeError: Can't pickle local object 'merge_configuration_file.<locals>.<lambda>'
The original error: https://github.com/tobymao/sqlglot/actions/runs/3223288986/jobs/5273206564
To reproduce:
The text was updated successfully, but these errors were encountered: