How to set BluePrint Variable through Python API

Hey so I have a script creating my own child blueprints from my parent class. And I have exposed variables that I want to set but the only line I can find in the API documentation that makes any sense to me is this one:

unreal.SystemLibrary.set_float_property_by_name(my_blueprint_asset, 'health', 10.0)

but it doesnt work so I am not sure where to go from here.