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

Method from_shape

utils/src/presentation.py:443–451  ·  view source on GitHub ↗
(
        cls,
        slide_idx: int,
        shape_idx: int,
        shape: BaseShape,
        *args,
        **kwargs,
    )

Source from the content-addressed store, hash-verified

441class UnsupportedShape(ShapeElement):
442 @classmethod
443 def from_shape(
444 cls,
445 slide_idx: int,
446 shape_idx: int,
447 shape: BaseShape,
448 *args,
449 **kwargs,
450 ):
451 raise ValueError(f"unsupported shape {shape.shape_type}")
452
453
454class TextBox(ShapeElement):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected