diff --git a/src/django_clickhouse/migrations.py b/src/django_clickhouse/migrations.py index 0f00719..38c785c 100644 --- a/src/django_clickhouse/migrations.py +++ b/src/django_clickhouse/migrations.py @@ -185,7 +185,7 @@ class RunSQL(LibRunSQL): self.hints = hints or {} -class RunPython(LibRunSQL): +class RunPython(LibRunPython): def __init__(self, *args, hints: Optional[dict] = None, **kwargs): super().__init__(*args, **kwargs) self.hints = hints or {}