(self, attr)
| 461 | return clone |
| 462 | |
| 463 | def _resolve_alias(self, attr): |
| 464 | # type: (str) -> str |
| 465 | new_attr, version = self.deprecated_fields[attr] |
| 466 | warnings.warn( |
| 467 | "%s has been deprecated in favor of %s since %s !" % ( |
| 468 | attr, new_attr, version |
| 469 | ), DeprecationWarning |
| 470 | ) |
| 471 | return new_attr |
| 472 | |
| 473 | def getfieldval(self, attr): |
| 474 | # type: (str) -> Any |
no outgoing calls
no test coverage detected