A new shade of Black (#11362)

This commit is contained in:
Alex Waygood
2024-02-05 00:38:55 +00:00
committed by GitHub
parent 7a6a749449
commit c49c84f319
76 changed files with 190 additions and 106 deletions

View File

@@ -85,19 +85,21 @@ class WriteApi(_BaseWriteApi):
self,
bucket: str,
org: str | None = None,
record: str
| Iterable[str]
| Point
| Iterable[Point]
| dict[Incomplete, Incomplete]
| Iterable[dict[Incomplete, Incomplete]]
| bytes
| Iterable[bytes]
| _Observable
| _NamedTuple
| Iterable[_NamedTuple]
| _DataClass
| Iterable[_DataClass] = None,
record: (
str
| Iterable[str]
| Point
| Iterable[Point]
| dict[Incomplete, Incomplete]
| Iterable[dict[Incomplete, Incomplete]]
| bytes
| Iterable[bytes]
| _Observable
| _NamedTuple
| Iterable[_NamedTuple]
| _DataClass
| Iterable[_DataClass]
) = None,
write_precision: _WritePrecision = "ns",
**kwargs,
) -> Any: ...

View File

@@ -19,18 +19,20 @@ class WriteApiAsync(_BaseWriteApi):
self,
bucket: str,
org: str | None = None,
record: str
| Iterable[str]
| Point
| Iterable[Point]
| dict[Incomplete, Incomplete]
| Iterable[dict[Incomplete, Incomplete]]
| bytes
| Iterable[bytes]
| _NamedTuple
| Iterable[_NamedTuple]
| _DataClass
| Iterable[_DataClass] = None,
record: (
str
| Iterable[str]
| Point
| Iterable[Point]
| dict[Incomplete, Incomplete]
| Iterable[dict[Incomplete, Incomplete]]
| bytes
| Iterable[bytes]
| _NamedTuple
| Iterable[_NamedTuple]
| _DataClass
| Iterable[_DataClass]
) = None,
write_precision: _WritePrecision = "ns",
**kwargs,
) -> bool: ...