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

Method closures

utils/src/presentation.py:299–310  ·  view source on GitHub ↗

Get the closures associated with the shape element. Returns: list: A list of closures.

(self)

Source from the content-addressed store, hash-verified

297
298 @property
299 def closures(self):
300 """
301 Get the closures associated with the shape element.
302
303 Returns:
304 list: A list of closures.
305 """
306 closures = []
307 closures.extend(sorted(self._closures["clone"]))
308 closures.extend(self._closures["replace"] + self._closures["style"])
309 closures.extend(sorted(self._closures["delete"], reverse=True))
310 return closures
311
312 @property
313 def indent(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected