mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-01 00:53:23 +08:00
[influxdb-client] Use SupportsContainsAndGetItem (#12612)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from _typeshed import Incomplete, SupportsGetItem, SupportsItems
|
||||
from _typeshed import Incomplete, SupportsContainsAndGetItem, SupportsItems
|
||||
from collections.abc import Iterable
|
||||
from datetime import datetime, timedelta
|
||||
from numbers import Integral
|
||||
@@ -18,7 +18,7 @@ class Point:
|
||||
def measurement(measurement: str) -> Point: ...
|
||||
@staticmethod
|
||||
def from_dict(
|
||||
dictionary: SupportsGetItem[str, Any], # TODO: Use SupportsContainsAndGetItem
|
||||
dictionary: SupportsContainsAndGetItem[str, Any],
|
||||
write_precision: _WritePrecision = "ns",
|
||||
*,
|
||||
record_measurement_name: str | None = ...,
|
||||
|
||||
Reference in New Issue
Block a user