Skip to content

fix: chained_assignment could be warn, raise or None #779

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pandas-stubs/_config/config.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class IO(DictWrapper):
sql: IOSQL

class Mode(DictWrapper):
chained_assignment: str
chained_assignment: Literal["warn", "raise"] | None
data_manager: str
sim_interactive: bool
string_storage: str
Expand Down
4 changes: 3 additions & 1 deletion pandas-stubs/core/config_init.pyi
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from typing import Literal

use_bottleneck_doc: str = ...

def use_bottleneck_cb(key) -> None: ...
Expand Down Expand Up @@ -49,7 +51,7 @@ use_inf_as_na_doc: str = ...

def use_inf_as_na_cb(key) -> None: ...

chained_assignment: str = ...
chained_assignment: Literal["warn", "raise"] | None
reader_engine_doc: str = ...
writer_engine_doc: str = ...
parquet_engine_doc: str = ...
Expand Down