class Graph(object._SharedObject):
- _get_ref = native_bt.graph_get_ref
- _put_ref = native_bt.graph_put_ref
+ _get_ref = staticmethod(native_bt.graph_get_ref)
+ _put_ref = staticmethod(native_bt.graph_put_ref)
def __init__(self):
ptr = native_bt.graph_create()