Revision 1f8d5d3f5359e4d02d1dba32bb497481f90cbbab authored by Maria Khrustaleva on 02 November 2023, 15:51:22 UTC, committed by GitHub on 02 November 2023, 15:51:22 UTC
This PR contains REST API tests for https://github.com/opencv/cvat/pull/6943
1 parent d2b5f3d
Raw File
rqscheduler.py
#!/usr/bin/env python

# This script adds access to the Django env and settings in the default rqscheduler
# implementation. This is required for correct work with CVAT queue settings and
# their access options such as login and password.

# Required to initialize Django settings correctly
from cvat.asgi import application  # pylint: disable=unused-import

from rq_scheduler.scripts import rqscheduler

if __name__ == '__main__':
    rqscheduler.main()
back to top