This file is indexed.

/usr/lib/python3/dist-packages/channels/signals.py is in python3-django-channels 1.1.8.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
from django.db import close_old_connections
from django.dispatch import Signal

consumer_started = Signal(providing_args=["environ"])
consumer_finished = Signal()
worker_ready = Signal()
worker_process_ready = Signal()

# Connect connection closer to consumer finished as well
consumer_finished.connect(close_old_connections)