We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6371b2b commit edc9d4fCopy full SHA for edc9d4f
src/dbtasks/management/commands/taskrunner.py
@@ -1,10 +1,11 @@
1
import os
2
import platform
3
4
-from dbtasks.runner import Runner
5
from django.core.management import BaseCommand, CommandParser
6
from django.tasks import DEFAULT_TASK_BACKEND_ALIAS
7
+from dbtasks.runner import Runner
8
+
9
10
def cpus() -> int:
11
return os.cpu_count() or 4
src/dbtasks/migrations/0001_initial.py
@@ -1,8 +1,9 @@
# Generated by Django 6.0 on 2025-12-20 02:16
-import dbtasks.models
from django.db import migrations, models
+import dbtasks.models
class Migration(migrations.Migration):
initial = True
0 commit comments