src/canvas-extractor/edfi_canvas_extractor/api/canvas_helper.py
def _to_dict(canvas_object: CanvasObject):
    """
    Converts a canvas object to a dict containing only the data values

    Parameters
    ----------
    canvas_object: CanvasObject
        a CanvasObject

    Returns
    -------
    Dict
        a Dict containing only the data value
    """
    dictionary = vars(canvas_object).copy()
    del dictionary["_requester"]
    return dictionary

    Converts a canvas object to a dict containing only the data values

    Parameters
    ----------
    canvas_object: CanvasObject
        a CanvasObject

    Returns
    -------
    Dict
        a Dict containing only the data value
    
Converts a canvas object to a dict containing only the data values
Parameters



Returns

Dict
a Dict containing only the data value
Converts a canvas object to a dict containing only the data values Parameters Returns Dict a Dict containing only the data value
def _to_dict(canvas_object: CanvasObject):
    dictionary = vars(canvas_object).copy()
    del dictionary["_requester"]
    return dictionary
def _to_dict ( canvas_object : CanvasObject ) : dictionary = vars ( canvas_object ) . copy ( ) del dictionary [ "_requester" ] return dictionary
Converts a canvas object to a dict containing only the data values
Parameters
Converts a canvas object to a dict containing only the data values Parameters
"""
    Converts a canvas object to a dict containing only the data values

    Parameters
    ----------
    canvas_object: CanvasObject
        a CanvasObject

    Returns
    -------
    Dict
        a Dict containing only the data value
    """
canvas_object
CanvasObject