Any of those help You don't need to add labels. In order to refer to a Python class, method, or other documented object, use the markup provided by the Python domain. For example, the following defines a cross-reference to the mymethod method:
will be helpful for those in need Either you can use the angle brackets with text override in the ref, or leave out them out. In other words, remove the angle brackets unless you are going to add override text. Error message should be better.