mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-19 23:09:55 +08:00
Add precise values for enum members where possible (#11299)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
This commit is contained in:
@@ -19,13 +19,13 @@ class FluxQueryException(Exception):
|
||||
class FluxCsvParserException(Exception): ...
|
||||
|
||||
class FluxSerializationMode(Enum):
|
||||
tables: int
|
||||
stream: int
|
||||
dataFrame: int
|
||||
tables = 1
|
||||
stream = 2
|
||||
dataFrame = 3
|
||||
|
||||
class FluxResponseMetadataMode(Enum):
|
||||
full: int
|
||||
only_names: int
|
||||
full = 1
|
||||
only_names = 2
|
||||
|
||||
class _FluxCsvParserMetadata:
|
||||
table_index: int
|
||||
|
||||
@@ -17,9 +17,9 @@ _Observable: TypeAlias = Any # reactivex.Observable
|
||||
logger: logging.Logger
|
||||
|
||||
class WriteType(Enum):
|
||||
batching: int
|
||||
asynchronous: int
|
||||
synchronous: int
|
||||
batching = 1
|
||||
asynchronous = 2
|
||||
synchronous = 3
|
||||
|
||||
class WriteOptions:
|
||||
write_type: WriteType
|
||||
|
||||
Reference in New Issue
Block a user