method

update_or_replace

update_or_replace(cls_desc)
private

By default we replace existing classes with the same name. If the —merge option was given, we instead merge this definition into an existing class. We add our methods, aliases, etc to that class, but do not change the class’s description.