classmethod dtcc.Bounds.add_methods(module, name=None) Adds methods from a module or function to the class. Parameters:¶ module : module or function¶A function or module containing the methods to add. name : str¶The name of the method to add, if None use the function/method name (default None). Raises:¶ TypeError – If module parameter is not a module or function. Return type:¶ None