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

Use __class__ when impl is not callable #177

Closed

Conversation

okapies
Copy link
Contributor

@okapies okapies commented Jun 15, 2022

Fixes #176.

@okapies okapies force-pushed the feature/forms-non-callable-impl branch from a4991c8 to 526639d Compare June 15, 2022 18:49
@okapies
Copy link
Contributor Author

okapies commented Jun 16, 2022

I'm sorry for the inconvenience, but please run the tests again. @aminalaee

@aminalaee
Copy link
Owner

@okapies it's ok. I think it might be missing the testsl coverage now.

@okapies
Copy link
Contributor Author

okapies commented Jun 16, 2022

We're not able to test it at the moment because there is no way to configure a custom converter directly (#93 (comment)) from outside of ModelConverterBase.

@aminalaee aminalaee force-pushed the feature/forms-non-callable-impl branch from e617f2a to 8c2b2d3 Compare June 19, 2022 09:00
@aminalaee
Copy link
Owner

@okapies I have to close this PR and use the other one which also includes the test, I hope you understand this and thank you for the PR.

@aminalaee aminalaee closed this Jun 19, 2022
@okapies okapies deleted the feature/forms-non-callable-impl branch June 19, 2022 10:06
@okapies
Copy link
Contributor Author

okapies commented Jun 19, 2022

Thanks for the quick fix!

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.

get_converter() fails with AttributeError: '...' object has no attribute '__name__'
2 participants