MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / apply

Method apply

utils/src/presentation.py:63–70  ·  view source on GitHub ↗

Apply the closure to a shape. Args: shape (BaseShape): The shape to apply the closure to.

(self, shape: BaseShape)

Source from the content-addressed store, hash-verified

61 paragraph_id: int = -1
62
63 def apply(self, shape: BaseShape):
64 """
65 Apply the closure to a shape.
66
67 Args:
68 shape (BaseShape): The shape to apply the closure to.
69 """
70 self.closure(shape)
71
72 def __gt__(self, other):
73 if self.paragraph_id != other.paragraph_id:

Callers 1

buildMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected