Skip to content

Commit

Permalink
fix(Python): missing bindings on Attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
BotellaA committed Dec 18, 2024
1 parent 560d573 commit 39694e8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bindings/python/src/basic/attribute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,12 @@ namespace geode
pybind11::class_< AttributeBase, std::shared_ptr< AttributeBase > >(
module, "AttributeBase" )
.def( "generic_value", &AttributeBase::generic_value )
.def( "generic_item_value", &AttributeBase::generic_item_value )
.def( "properties", &AttributeBase::properties )
.def( "is_genericable", &AttributeBase::is_genericable );
.def( "is_genericable", &AttributeBase::is_genericable )
.def( "nb_items", &AttributeBase::nb_items )
.def( "type", &AttributeBase::type )
.def( "name", &AttributeBase::name );
python_attribute_class< bool >( module, "Bool" );
python_attribute_class< int >( module, "Int" );
python_attribute_class< unsigned int >( module, "UInt" );
Expand Down

0 comments on commit 39694e8

Please sign in to comment.