Uses deconstruct() to clone a new copy of this Field. Will not preserve any class attachments/attribute names.
(self)
| 704 | return (self.name, path, [], keywords) |
| 705 | |
| 706 | def clone(self): |
| 707 | """ |
| 708 | Uses deconstruct() to clone a new copy of this Field. |
| 709 | Will not preserve any class attachments/attribute names. |
| 710 | """ |
| 711 | name, path, args, kwargs = self.deconstruct() |
| 712 | return self.__class__(*args, **kwargs) |
| 713 | |
| 714 | def __eq__(self, other): |
| 715 | # Needed for @total_ordering |
no test coverage detected