ferrosoft.apps.dataimport.websocket package

Submodules

ferrosoft.apps.dataimport.websocket.consumer module

class ferrosoft.apps.dataimport.websocket.consumer.ImportJobUIEventsConsumer(*args, **kwargs)[source]

Bases: UIEventsConsumer

pass_on(event)[source]
receive_json_tenant_context(content)[source]

Process a JSON message once the tenant context is active.

ferrosoft.apps.dataimport.websocket.routing module

ferrosoft.apps.dataimport.websocket.updater module

class ferrosoft.apps.dataimport.websocket.updater.ImportJobUIUpdater(entity_id=None)[source]

Bases: FrontendUIUpdater

Allow server-side code to push updates regarding ImportJob (LogEntry) to the browser.

send_import_finished(error, line_count)[source]
send_log_entries(entries)[source]
send_log_entry(job, message, line_number=None, highlight=None)[source]