Skip to content

Commit

Permalink
Added additional constructor for IFilter::PreflightValue binding
Browse files Browse the repository at this point in the history
Signed-off-by: Jared Duffey <[email protected]>
  • Loading branch information
JDuffeyBQ committed Apr 18, 2024
1 parent 26ffcb9 commit ac12937
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Plugins/SimplnxCore/wrapping/python/simplnxpy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1241,6 +1241,7 @@ PYBIND11_MODULE(simplnx, mod)

py::class_<IFilter::PreflightValue> preflightValue(filter, "PreflightValue");
preflightValue.def(py::init<>());
preflightValue.def(py::init<std::string, std::string>(), "name"_a, "value"_a);
preflightValue.def_readwrite("name", &IFilter::PreflightValue::name);
preflightValue.def_readwrite("value", &IFilter::PreflightValue::value);

Expand Down

0 comments on commit ac12937

Please sign in to comment.