def METHOD_NAME(self, context):
    self.inputs.new('SvVerticesSocket', "ControlPoints")
    self.inputs.new('SvStringsSocket', "Weights")
    self.inputs.new('SvStringsSocket', "Knots")
    self.inputs.new('SvStringsSocket', "Degree").prop_name = 'degree'
    self.outputs.new('SvCurveSocket', "Curve")
    self.outputs.new('SvStringsSocket', "Knots")
    self.update_sockets(context)