Closed
Bug 1878767
Opened 1 year ago
Closed 10 months ago
Translate legacy imports
Categories
(Conduit :: Lando, enhancement)
Conduit
Lando
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: zeid, Assigned: zeid)
References
Details
Attachments
(1 file)
The following imports, among others, should be modified to accommodate the new project structure:
from landoapi import ...
should be changed tofrom lando.api.legacy import ...
.from landoui import ...
should be changed tofrom lando.ui.legacy import ...
.from flask import current_app
should be changed tofrom lando import settings
(in most cases, whencurrent_app.config
is needed).from flask import g
should be reimplemented to not useg
.from connexion.lifecycle import ConnexionResponse
should be changed tofrom django.http import HttpResponse
and reimplemented accordingly.from connexion import ProblemException
should be reimplemented to accommodate Django responses/exceptions.
Assignee | ||
Updated•1 year ago
|
Assignee: nobody → zeid
Comment 1•11 months ago
|
||
Updated•11 months ago
|
Assignee | ||
Updated•10 months ago
|
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•