def get_inspector():
 global _INSPECTOR
 if _INSPECTOR:
  return _INSPECTOR
 else:
  bind = op.get_bind()
  _INSPECTOR = sa.engine.reflection.Inspector.from_engine(bind)
 return _INSPECTOR

def get_inspector ( ) : global _INSPECTOR if _INSPECTOR : return _INSPECTOR else : bind = op . get_bind ( ) _INSPECTOR = sa . engine . reflection . Inspector . from_engine ( bind ) return _INSPECTOR
reuse inspector .