Return the authority name for the given string target node.
(self, target)
| 158 | return capi.get_attr_value(self.ptr, force_bytes(target), index) |
| 159 | |
| 160 | def auth_name(self, target): |
| 161 | "Return the authority name for the given string target node." |
| 162 | return capi.get_auth_name( |
| 163 | self.ptr, target if target is None else force_bytes(target) |
| 164 | ) |
| 165 | |
| 166 | def auth_code(self, target): |
| 167 | "Return the authority code for the given string target node." |