yasithdev opened a new pull request, #216: URL: https://github.com/apache/airavata-portals/pull/216
Three unreferenced bits of Python in the Django portal: - `api/web.py`: unused `_cls_or`/`_cls_and`/`_cls_invert` — superseded by the inline monkeypatch lambdas that set `OperationHolderMixin.__or__`/`__and__`/`__invert__` (0 callers). - `admin/views.py`: `compute_resource` view + its `admin/compute_resource.html` template — the view has no URL route anywhere. - `api/helpers.py`: unused `_can_read` (0 callers); the live permission check is `_can_write`. ## Test plan - Grep: 0 callers/routes for each removed symbol. - `py_compile` of the 3 edited modules passes; portal restarts to HTTP 200 (Django imports all views/urls on startup). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
