from __future__ import absolute_import
import math
import inspect


def init(dataset):
  for name,func in inspect.getmembers(math, inspect.isbuiltin):
    # builtins can't have attributes, which is where we store
    # the type info
    f = lambda *args: func(*args)
    dataset.add_function(
      name,
      f,
      returns=dict(name=name, type='NUMBER')
    )

02c23a4680043faea97d9e24f42cec4c139d51df
<mask token>

<mask token>


def init(dataset):
    for name, func in inspect.getmembers(math, inspect.isbuiltin):
        f = lambda *args: func(*args)
        dataset.add_function(name, f, returns=dict(name=name, type='NUMBER'))

from __future__ import absolute_import
import math
import inspect


def init(dataset):
    for name, func in inspect.getmembers(math, inspect.isbuiltin):
        f = lambda *args: func(*args)
        dataset.add_function(name, f, returns=dict(name=name, type='NUMBER'))

from __future__ import absolute_import
import math
import inspect


def init(dataset):
  for name,func in inspect.getmembers(math, inspect.isbuiltin):
    # builtins can't have attributes, which is where we store
    # the type info
    f = lambda *args: func(*args)
    dataset.add_function(
      name,
      f,
      returns=dict(name=name, type='NUMBER')
    )
