f
This commit is contained in:
12
scripts/check_store.py
Normal file
12
scripts/check_store.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import traceback
|
||||
|
||||
try:
|
||||
from Store import Store
|
||||
s = Store(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()
|
||||
Reference in New Issue
Block a user