def insert(self, part):
        """ Insert a part into this assembly.

        Args:
            - part (onshapepy.part.Part) A Part instance that will be inserted.

        Returns:
            - requests.Response: Onshape response data

        """
        params = {k: str(v) for k,v in part.params.items()}
        res=c.create_assembly_instance(self.uri.as_dict(), part.uri.as_dict(), params)
        return res
def insert ( self , part ) : params = { k : str ( v ) for k , v in part . params . items ( ) } res = c . create_assembly_instance ( self . uri . as_dict ( ) , part . uri . as_dict ( ) , params ) return res
Insert a part into this assembly.

        Args:
            - part (onshapepy.part.Part) A Part instance that will be inserted.

        Returns:
            - requests.Response: Onshape response data