instance_streamer: migrate to snake case

This commit is contained in:
Andrej730
2026-07-22 16:49:01 +05:00
parent e98a3a5c2c
commit 298e4cfd8d
4 changed files with 22 additions and 19 deletions
+1 -1
View File
@@ -1306,7 +1306,7 @@ from .entity_instance import entity_instance_mixin as _entity_instance_mixin_bas
%}
%extend ifcopenshell::instance_streamer<ifcopenshell::file_reader<ifcopenshell::full_buffer_impl>> {
PyObject* readInstancePy(bool type_as_declaration_instance=false) {
PyObject* read_instance_py(bool type_as_declaration_instance=false) {
auto simply_type_to_dictionary = [&](const express::Base& t) -> PyObject* {
const auto& nm = t.declaration().name();
auto ifc_val = t.get_attribute_value(0);