code: def getConstructorArguments(modelName):
    
  
    if modelName not in TemporalMemoryTypes.getTypes():
      raise RuntimeError("Unknown model type: " + modelName)
  
    argspec = inspect.getargspec(
                              getattr(TemporalMemoryTypes, modelName).__init__)
    return (argspec.args[1:], argspec.defaults)
docs: Return constructor arguments and associated default values for the
    given model type.
  
    @param modelName (str)  A supported temporal memory type
  
    @return argNames (list of str) a list of strings corresponding to constructor
                                   arguments for the given model type, excluding
                                   'self'.
    @return defaults (list)        a list of default values for each argument