def _is_generator(obj):
  return isinstance(obj, types.GeneratorType)
Invoke query_apply() with ns and set as None
dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/tasklets.py/_is_generator--crossover with--dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_query_apply.py/TestQueryApply.test_query_apply_with_ns_set_none