MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / addTag

Method addTag

src/App/MetadataPyImp.cpp:766–775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

764}
765
766PyObject* MetadataPy::addTag(PyObject* args)
767{
768 const char* tag = nullptr;
769 if (!PyArg_ParseTuple(args, "s", &tag)) {
770 throw Py::Exception();
771 }
772 getMetadataPtr()->addTag(tag);
773 Py_INCREF(Py_None);
774 return Py_None;
775}
776
777PyObject* MetadataPy::removeTag(PyObject* args)
778{

Callers 1

setTagMethod · 0.45

Calls 1

ExceptionClass · 0.70

Tested by

no test coverage detected