(self)
| 940 | self.min_len = min_len |
| 941 | |
| 942 | def serialize(self) -> JsonDict: |
| 943 | assert not self.id.is_meta_var() |
| 944 | return { |
| 945 | ".class": "TypeVarTupleType", |
| 946 | "name": self.name, |
| 947 | "fullname": self.fullname, |
| 948 | "id": self.id.raw_id, |
| 949 | "namespace": self.id.namespace, |
| 950 | "upper_bound": self.upper_bound.serialize(), |
| 951 | "tuple_fallback": self.tuple_fallback.serialize(), |
| 952 | "default": self.default.serialize(), |
| 953 | "min_len": self.min_len, |
| 954 | } |
| 955 | |
| 956 | @classmethod |
| 957 | def deserialize(cls, data: JsonDict) -> TypeVarTupleType: |
nothing calls this directly
no test coverage detected