code: def _register_function(func, con):
      
      nargs = number_of_arguments(func)
      con.connection.connection.create_function(func.__name__, nargs, func)
docs: Register a Python callable with a SQLite connection `con`.
  
      Parameters
      ----------
      func : callable
      con : sqlalchemy.Connection