|
def | __new__ (cls, **kwargs) |
|
def | set (self, *args, **kwargs) |
|
def | evolver (self) |
|
def | __repr__ (self) |
|
def | create (cls, kwargs, _factory_fields=None, ignore_extra=False) |
|
def | __reduce__ (self) |
|
def | serialize (self, format=None) |
|
def | __new__ (cls, size, buckets) |
|
def | __getitem__ (self, key) |
|
def | __contains__ (self, key) |
|
def | __iter__ (self) |
|
def | __getattr__ (self, key) |
|
def | iterkeys (self) |
|
def | itervalues (self) |
|
def | iteritems (self) |
|
def | values (self) |
|
def | keys (self) |
|
def | items (self) |
|
def | __len__ (self) |
|
def | __eq__ (self, other) |
|
def | __lt__ (self, other) |
|
def | __str__ (self) |
|
def | __hash__ (self) |
|
def | set (self, key, val) |
|
def | remove (self, key) |
|
def | discard (self, key) |
|
def | update (self, *maps) |
|
def | update_with (self, update_fn, *maps) |
|
def | __add__ (self, other) |
|
def | transform (self, *transformations) |
|
def | copy (self) |
|
def | create (cls, source_data, _factory_fields=None) |
|
def | __new__ (mcs, name, bases, dct) |
|
A PRecord is a PMap with a fixed set of specified fields. Records are declared as python classes inheriting
from PRecord. Because it is a PMap it has full support for all Mapping methods such as iteration and element
access using subscript notation.
More documentation and examples of PRecord usage is available at https://github.com/tobgu/pyrsistent