remove import check for django in setup (#27)

unneeded now since the agent imports and sets up Django as part of it's
initial serving
This commit is contained in:
Josh Thomas 2024-12-12 20:03:48 -06:00 committed by GitHub
parent 9bbc2c2c3a
commit b13d19a4bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 21 additions and 104 deletions

View file

@ -91,20 +91,6 @@ async def check__health(_request: check_pb2.HealthRequest) -> check_pb2.HealthRe
return check_pb2.HealthResponse(passed=True)
@proto_handler(
check_pb2.DjangoAvailableRequest,
error=messages_pb2.Error(
code=messages_pb2.Error.DJANGO_ERROR, message="Django is not installed"
),
)
async def check__django_available(
_request: check_pb2.DjangoAvailableRequest,
) -> check_pb2.DjangoAvailableResponse:
import django # noqa: F401
return check_pb2.DjangoAvailableResponse(passed=True)
@proto_handler(
check_pb2.AppInstalledRequest,
error=messages_pb2.Error(