Skip to content

Commit 663d7fe

Browse files
Apply suggestion from @gemini-code-assist[bot]
Giving pd.NAType a try instead of Any to see if that passes. Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 804d7b4 commit 663d7fe

File tree

1 file changed

+1
-1
lines changed
  • packages/db-dtypes/db_dtypes

1 file changed

+1
-1
lines changed

packages/db-dtypes/db_dtypes/json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class JSONDtype(pd.api.extensions.ExtensionDtype):
3232
name = "dbjson"
3333

3434
@property
35-
def na_value(self) -> pd.NA: # type: ignore[valid-type]
35+
def na_value(self) -> pd.NAType:
3636
"""Default NA value to use for this type."""
3737
return pd.NA
3838

0 commit comments

Comments
 (0)