Skip to content
Snippets Groups Projects

There is no print() method in FunctorCollection

Merged Patrick Koppenburg requested to merge pkoppenb-master-patch-58211 into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -24,7 +24,7 @@ class FunctorCollection():
__getitem__: Dictionary like get item
update : extends a given dictionary of functors to the collection, throwing a warning about overwriting an entry if it already exists.
pop : given a name or list of names it removes the functors from the collection, raising an error if the entry(ies) does(do) not exist.
print : prints the content of FunctorCollection.
__str__ : helper to print the collection
add operator (+) : adds two FunctorCollection, for common entries warns the user about picking the entry from "base" FunctorCollection instance.
sub operator (-) : returns a FunctorCollection that contains unique entries between two FunctorCollections.
get_loki_functors(self): returns dictionary of loki functors
Loading