(self)
| 1334 | return isinstance(other, AnyType) |
| 1335 | |
| 1336 | def serialize(self) -> JsonDict: |
| 1337 | return { |
| 1338 | ".class": "AnyType", |
| 1339 | "type_of_any": self.type_of_any, |
| 1340 | "source_any": self.source_any.serialize() if self.source_any is not None else None, |
| 1341 | "missing_import_name": self.missing_import_name, |
| 1342 | } |
| 1343 | |
| 1344 | @classmethod |
| 1345 | def deserialize(cls, data: JsonDict) -> AnyType: |