mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Introduce SupportsContainsAndGetItem (#11827)
This commit is contained in:
@@ -18,7 +18,7 @@ class Point:
|
||||
def measurement(measurement: str) -> Point: ...
|
||||
@staticmethod
|
||||
def from_dict(
|
||||
dictionary: SupportsGetItem[str, Any],
|
||||
dictionary: SupportsGetItem[str, Any], # TODO: Use SupportsContainsAndGetItem
|
||||
write_precision: _WritePrecision = "ns",
|
||||
*,
|
||||
record_measurement_name: str | None = ...,
|
||||
|
||||
Reference in New Issue
Block a user