
from mistral.api import app
from mistral import config
from mistral.engine import rpc

config.parse_args()
transport = rpc.get_transport()
application = app.setup_app(transport=transport)


from mistral.api import app
from mistral import config

config.parse_args()
application = app.setup_app()

Remove transport from WSGI script
Remove transport from WSGI script

The setup_app method no longer requires transport as input.

Change-Id: I4caf397a48e30822d423c8cf7d40f2773f9aa951
Closes-Bug: 1443654

  
  from mistral.api import app
  from mistral import config
- from mistral.engine import rpc
  
  config.parse_args()
- transport = rpc.get_transport()
- application = app.setup_app(transport=transport)
+ application = app.setup_app()
  
Remove transport from WSGI script
## Code Before:

from mistral.api import app
from mistral import config
from mistral.engine import rpc

config.parse_args()
transport = rpc.get_transport()
application = app.setup_app(transport=transport)

## Instruction:
Remove transport from WSGI script
## Code After:

from mistral.api import app
from mistral import config

config.parse_args()
application = app.setup_app()
