(data: dict)
| 81 | |
| 82 | |
| 83 | def save(data: dict): |
| 84 | from app.plugins.functions import get_current_plugin |
| 85 | plugin = get_current_plugin(only_active=True) |
| 86 | data_store = plugin.get_global_data_store() |
| 87 | |
| 88 | data_store.set_string('service_url', data.get('service_url')), |
| 89 | data_store.set_string('coverage_id', data.get('coverage_id')), |
| 90 | data_store.set_string('token', data.get('token')), |
| 91 | data_store.set_string('task_id', data.get('task_id')), |
| 92 | data_store.set_int('buffer_size', data.get('buffer_size')), |
| 93 | data_store.set_bool('bot_task_resizing_images', data.get('bot_task_resizing_images')), |
| 94 | |
| 95 | |
| 96 | def config(): |
no test coverage detected