-
Notifications
You must be signed in to change notification settings - Fork 554
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
Django 2.2 #3873
base: ng
Are you sure you want to change the base?
Django 2.2 #3873
Conversation
Run ruff
Fix imports with ruff
# def get_queryset(self): | ||
# return ( | ||
# super() | ||
# .get_queryset() | ||
# .annotate(objects_count=Count("support__baseobjectssupport")) | ||
# ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Decide what to do with it.
Otherwise python 3.8 complains with garbage
RuntimeError: __class__ not set defining 'BaseObjectsSupportRichResource' as <class 'ralph.data_importer.resources.BaseObjectsSupportRichResource'>. Was __classcell__ propagated to type.__new__?
or when fixed in ImportForeignKeyMeta:
TypeError: __class__ set to <class 'ralph.data_importer.resources.BaseObjectsSupportRichResource'> defining 'BaseObjectsSupportRichResource' as <class 'ralph.data_importer.resources.BaseObjectsSupportRichResource'>
TODO - Use ruff in CI instead of flake and isort