code: def make_it_promise(next, *a, **b):
      return Promise.resolve(next(*a, **b))
  
file_path: wandb/wandb/vendor/graphql-core-1.1/wandb_graphql/execution/middleware.py
imports: import inspect
  from functools import partial
  from itertools import chain
  from wandb_promise import Promise
label_desc: Use image node_id 3 for calling a global function with example usage: make_it_promise(next) and returns: Promise