Skip to content

Commit 48c2759

Browse files
Merge pull request #1065 from Geode-solutions/fix/python-att-items
fix(Python): missing bindings on Attribute
2 parents 560d573 + 39694e8 commit 48c2759

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

bindings/python/src/basic/attribute.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,12 @@ namespace geode
7070
pybind11::class_< AttributeBase, std::shared_ptr< AttributeBase > >(
7171
module, "AttributeBase" )
7272
.def( "generic_value", &AttributeBase::generic_value )
73+
.def( "generic_item_value", &AttributeBase::generic_item_value )
7374
.def( "properties", &AttributeBase::properties )
74-
.def( "is_genericable", &AttributeBase::is_genericable );
75+
.def( "is_genericable", &AttributeBase::is_genericable )
76+
.def( "nb_items", &AttributeBase::nb_items )
77+
.def( "type", &AttributeBase::type )
78+
.def( "name", &AttributeBase::name );
7579
python_attribute_class< bool >( module, "Bool" );
7680
python_attribute_class< int >( module, "Int" );
7781
python_attribute_class< unsigned int >( module, "UInt" );

0 commit comments

Comments
 (0)