Use Union instead of | for now to be consistent with other annotations
@@ -202,7 +202,7 @@ class VariantRecordSamples(_Mapping[Union[str, int], "VariantRecordSample"]):
**kwargs
) -> None: ...
def pop(
- self, key: str | int, default: _D = ...
+ self, key: Union[str, int], default: _D = ...
) -> Union[_D, VariantRecordSample]: ...
class VariantRecord:
