def from_shape_dict(cls, d):
        """Constructs a shape from a dictionary of information.

        Args:
            d: a dictionary containing information about a shape
        Returns:
            an :class:`OpenLABELShape`
        """
        coords = d.pop("val", None)
        attributes, stream = cls._parse_attributes(d)
        return cls(coords, attributes=attributes, stream=stream)
Constructs a shape from a dictionary of information.

        Args:
            d: a dictionary containing information about a shape
        Returns:
            an :class:`OpenLABELShape`
        
fiftyone/utils/openlabel.py