Skip to content

Commit 9b55dd6

Browse files
committed
mark classes as frozen
1 parent 4e03815 commit 9b55dd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dataframe.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@ impl PyDataFrame {
10391039
}
10401040

10411041
#[derive(Debug, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)]
1042-
#[pyclass(eq, eq_int, name = "InsertOp", module = "datafusion")]
1042+
#[pyclass(frozen, eq, eq_int, name = "InsertOp", module = "datafusion")]
10431043
pub enum PyInsertOp {
10441044
APPEND,
10451045
REPLACE,
@@ -1057,7 +1057,7 @@ impl From<PyInsertOp> for InsertOp {
10571057
}
10581058

10591059
#[derive(Debug, Clone)]
1060-
#[pyclass(name = "DataFrameWriteOptions", module = "datafusion")]
1060+
#[pyclass(frozen, name = "DataFrameWriteOptions", module = "datafusion")]
10611061
pub struct PyDataFrameWriteOptions {
10621062
insert_operation: InsertOp,
10631063
single_file_output: bool,

0 commit comments

Comments
 (0)