pipeline.show_weblog

show_weblog(index_path='', handler_class=<class 'http.server.SimpleHTTPRequestHandler'>, server_class=<class 'http.server.HTTPServer'>, bind='127.0.0.1')[source]

Locate the most recent web log and serve it via a HTTP server running on 127.0.0.1 using a random port 30000-32768.

The function arguments are not exposed in the CASA CLI interface, but are made available in case that becomes necessary.

TODO: Ideally we'd serve just the html directory, but that breaks the weblog for reasons I don't have time to investigate right now. See https://gist.github.com/diegosorrilha/812787c01b65fde6dec870ab97212abd , which is easily convertible to Python 3. These classes can be passed in as handler_class and server_class arguments.