RealOrangeOne / django-tasks

A reference implementation and backport of background workers and tasks in Django
https://pypi.org/project/django-tasks/
BSD 3-Clause "New" or "Revised" License
314 stars 22 forks source link

Including the django-stubs dependency. #32

Closed dennisstritzke closed 3 months ago

dennisstritzke commented 3 months ago

Without these changes importing the package results in a TypeError:

  File "/Users/[...]/django-tasks-master/django_tasks/__init__.py", line 30, in <module>
    class TasksHandler(BaseConnectionHandler[BaseTaskBackend]):
                       ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
TypeError: type 'BaseConnectionHandler' is not subscriptable
RealOrangeOne commented 3 months ago

Once conflicts are resolved, I can run CI and get this merged!

dennisstritzke commented 3 months ago

Rebased the branch. There are no conflicts anymore.