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

Django 2.2 #3873

Merged
merged 18 commits into from
Feb 5, 2025
Merged

Django 2.2 #3873

merged 18 commits into from
Feb 5, 2025

Conversation

hipek8
Copy link
Contributor

@hipek8 hipek8 commented Dec 6, 2024

TODO - Use ruff in CI instead of flake and isort

Comment on lines +622 to +627
# def get_queryset(self):
# return (
# super()
# .get_queryset()
# .annotate(objects_count=Count("support__baseobjectssupport"))
# )
Copy link
Contributor Author

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'>

@hipek8 hipek8 marked this pull request as ready for review February 4, 2025 11:59
@hipek8 hipek8 merged commit 9becab3 into ng Feb 5, 2025
16 checks passed
@hipek8 hipek8 deleted the django-2.2 branch February 5, 2025 11:51
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.

2 participants