MCPcopy Index your code
hub / github.com/WebODM/WebODM / config

Function config

coreplugins/align-service/plugin.py:96–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94
95
96def config():
97 from app.plugins.functions import get_current_plugin
98 plugin = get_current_plugin(only_active=True)
99 data_store = plugin.get_global_data_store()
100
101 return {
102 'service_url': data_store.get_string('service_url'),
103 'coverage_id': data_store.get_string('coverage_id'),
104 'task_id': data_store.get_string('task_id'),
105 'token': data_store.get_string('token'),
106 'buffer_size': data_store.get_int('buffer_size'),
107 'bot_task_resizing_images': data_store.get_bool('bot_task_resizing_images'),
108 }

Callers 5

test_signalMethod · 0.85
indexMethod · 0.85
generate_align_tifFunction · 0.85
extract_odm_stringsFunction · 0.85

Calls 5

get_current_pluginFunction · 0.90
get_global_data_storeMethod · 0.80
get_stringMethod · 0.80
get_intMethod · 0.80
get_boolMethod · 0.80

Tested by 1

test_signalMethod · 0.68