From 07de63ee98e278f045e14ffc55257a7bf2992720 Mon Sep 17 00:00:00 2001 From: "Jens L." Date: Sat, 28 Mar 2026 19:57:46 +0000 Subject: [PATCH] packages/django-dramatiq-postgres: fix default value for HTTPServerThread (#21216) Signed-off-by: Jens Langhammer --- .gitattributes | 5 ++++- .../django_dramatiq_postgres/middleware.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index 352901e231..f57d2e2c41 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,9 @@ -packages/client-* linguist-generated +packages/client-*/** linguist-generated web/packages/lex/* linguist-vendored web/packages/node-domexception/* linguist-vendored web/packages/formdata-polyfill/* linguist-vendored web/packages/sfe/vendored/* linguist-vendored website/vendored/* linguist-vendored +website/docs/** linguist-documentation +website/integrations/** linguist-documentation +website/api/** linguist-documentation diff --git a/packages/django-dramatiq-postgres/django_dramatiq_postgres/middleware.py b/packages/django-dramatiq-postgres/django_dramatiq_postgres/middleware.py index 9a63a32a15..a128921b1e 100644 --- a/packages/django-dramatiq-postgres/django_dramatiq_postgres/middleware.py +++ b/packages/django-dramatiq-postgres/django_dramatiq_postgres/middleware.py @@ -27,7 +27,7 @@ class HTTPServerThread(Thread): """Base class for a thread which runs an HTTP Server. Mainly used for typing the `server` instance variable.""" - server: HTTPServer | None + server: HTTPServer | None = None class HTTPServer(BaseHTTPServer):