Skip to content

Commit

Permalink
Add type hint to 'version'
Browse files Browse the repository at this point in the history
  • Loading branch information
binste committed Dec 23, 2023
1 parent 201ff76 commit 4eab849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion altair/utils/_dfi_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class DataFrame(Protocol):
to the dataframe interchange protocol specification.
"""

version = 0 # version of the protocol
version: int = 0 # version of the protocol

def __dataframe__(
self, nan_as_null: bool = False, allow_copy: bool = True
Expand Down

0 comments on commit 4eab849

Please sign in to comment.