12 lines
464 B
Python
12 lines
464 B
Python
import traceback
|
|
|
|
try:
|
|
from PluginCore.backend_registry import BackendRegistry
|
|
s = BackendRegistry(config={}, suppress_debug=True)
|
|
print('INSTANCE TYPE:', type(s))
|
|
print('HAS is_available:', hasattr(s, 'is_available'))
|
|
if hasattr(s, 'is_available'):
|
|
print('is_available callable:', callable(getattr(s, 'is_available')))
|
|
print('DIR:', sorted([n for n in dir(s) if not n.startswith('__')]))
|
|
except Exception:
|
|
traceback.print_exc() |