make_dict_tuple¶
-
privex.helpers.collections.make_dict_tuple(typename, field_names, *args, **kwargs)[source]¶ Generates a
collections.namedtuple()type, with added / modified methods injected to make it into adictable_namedtuple.Note: You probably want to be using
dictable_namedtuple()instead of calling this directly.