Commit b181b832 authored by Timo Koch's avatar Timo Koch Committed by Timo Koch
Browse files

[python] Expect discretization tags instead of the deprecated enum

parent 88c2267b
Pipeline #10330 failed with stages
......@@ -152,7 +152,7 @@ void registerGridGeometry(pybind11::handle scope, pybind11::class_<GG, Options..
cls.def_property_readonly("gridView", &GG::gridView);
cls.def_property_readonly_static("discMethod", [](const pybind11::object&){
return toString(GG::discMethod);
return GG::discMethod.name();
});
cls.def_property_readonly("localView", [](GG& self){
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment