@@ -265,7 +265,7 @@ class DuckDBPyConnection:
265265 def from_arrow (self , arrow_object : object ) -> DuckDBPyRelation : ...
266266 def from_csv_auto (
267267 self ,
268- path_or_buffer : str | bytes | os .PathLike [str ] | os .PathLike [bytes ] | typing .IO [bytes ],
268+ path_or_buffer : str | bytes | os .PathLike [str ] | os .PathLike [bytes ] | typing .IO [bytes ] | typing . IO [ str ] ,
269269 header : bool | int | None = None ,
270270 compression : CsvCompression | None = None ,
271271 sep : str | None = None ,
@@ -366,7 +366,7 @@ class DuckDBPyConnection:
366366 def query_progress (self ) -> float : ...
367367 def read_csv (
368368 self ,
369- path_or_buffer : str | bytes | os .PathLike [str ] | os .PathLike [bytes ] | typing .IO [bytes ],
369+ path_or_buffer : str | bytes | os .PathLike [str ] | os .PathLike [bytes ] | typing .IO [bytes ] | typing . IO [ str ] ,
370370 header : bool | int | None = None ,
371371 compression : CsvCompression | None = None ,
372372 sep : str | None = None ,
@@ -411,7 +411,7 @@ class DuckDBPyConnection:
411411 ) -> DuckDBPyRelation : ...
412412 def read_json (
413413 self ,
414- path_or_buffer : str | bytes | os .PathLike [str ],
414+ path_or_buffer : str | bytes | os .PathLike [str ] | os . PathLike [ bytes ] | typing . IO [ bytes ] | typing . IO [ str ] ,
415415 * ,
416416 columns : ColumnsTypes | None = None ,
417417 sample_size : int | None = None ,
@@ -1017,7 +1017,7 @@ def from_arrow(
10171017 connection : DuckDBPyConnection | None = None ,
10181018) -> DuckDBPyRelation : ...
10191019def from_csv_auto (
1020- path_or_buffer : str | bytes | os .PathLike [str ] | os .PathLike [bytes ] | typing .IO [bytes ],
1020+ path_or_buffer : str | bytes | os .PathLike [str ] | os .PathLike [bytes ] | typing .IO [bytes ] | typing . IO [ str ] ,
10211021 header : bool | int | None = None ,
10221022 compression : CsvCompression | None = None ,
10231023 sep : str | None = None ,
@@ -1166,7 +1166,7 @@ def query_df(
11661166) -> DuckDBPyRelation : ...
11671167def query_progress (* , connection : DuckDBPyConnection | None = None ) -> float : ...
11681168def read_csv (
1169- path_or_buffer : str | bytes | os .PathLike [str ] | os .PathLike [bytes ] | typing .IO [bytes ],
1169+ path_or_buffer : str | bytes | os .PathLike [str ] | os .PathLike [bytes ] | typing .IO [bytes ] | typing . IO [ str ] ,
11701170 header : bool | int | None = None ,
11711171 compression : CsvCompression | None = None ,
11721172 sep : str | None = None ,
@@ -1210,7 +1210,7 @@ def read_csv(
12101210 strict_mode : bool | None = None ,
12111211) -> DuckDBPyRelation : ...
12121212def read_json (
1213- path_or_buffer : str | bytes | os .PathLike [str ],
1213+ path_or_buffer : str | bytes | os .PathLike [str ] | os . PathLike [ bytes ] | typing . IO [ bytes ] | typing . IO [ str ] ,
12141214 * ,
12151215 columns : ColumnsTypes | None = None ,
12161216 sample_size : int | None = None ,
0 commit comments