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

Fix TypeError in BaseEditor.edit by removing duplicate test_generation parameter from kwargs #287

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

Leo-Lsc
Copy link
Contributor

@Leo-Lsc Leo-Lsc commented Jun 2, 2024

Fix TypeError in BaseEditor.edit method

Description

This pull request fixes a TypeError in the BaseEditor.edit method where the test_generation parameter was being passed multiple times to the edit_requests method.

Changes

Removed the test_generation parameter from kwargs before calling edit_requests in the edit method.

Impact

This fix ensures that the test_generation parameter is only passed once, preventing the TypeError and allowing the method to function correctly.

@pengzju
Copy link
Collaborator

pengzju commented Jun 7, 2024

Thanks a lot.

@pengzju pengzju merged commit dc8f4f1 into zjunlp:main Jun 7, 2024
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.

None yet

2 participants