Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinzwang committed Nov 22, 2024
1 parent dd0b28f commit 627881b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions daft/daft/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -638,13 +638,6 @@ class IOConfig:
gcs: GCSConfig | None = None,
http: HTTPConfig | None = None,
): ...
@staticmethod
def from_json(input: str) -> IOConfig:
"""
Recreate an IOConfig from a JSON string.
"""
...

def replace(
self,
s3: S3Config | None = None,
Expand Down
2 changes: 1 addition & 1 deletion src/common/io-config/src/python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ pub struct GCSConfig {
/// >>> io_config = IOConfig(s3=S3Config(key_id="xxx", access_key="xxx", num_tries=10), azure=AzureConfig(anonymous=True), gcs=GCSConfig(...))
/// >>> daft.read_parquet(["s3://some-path", "az://some-other-path", "gs://path3"], io_config=io_config)
#[derive(Clone, Default, Serialize, Deserialize)]
#[pyclass]
#[pyclass(module = "daft.daft")]
pub struct IOConfig {
pub config: config::IOConfig,
}
Expand Down

0 comments on commit 627881b

Please sign in to comment.