def _grains():
 client = _get_client()
 ret = client.get_datastore(DatastoreType.RUNNING)
 GRAINS_CACHE.update(ret)
 return GRAINS_CACHE

def _grains ( ) : client = _get_client ( ) ret = client . get_datastore ( DatastoreType . RUNNING ) GRAINS_CACHE . update ( ret ) return GRAINS_CACHE
helper function to the grains from the proxied devices .