#!/usr/bin/env python

import gi
from gi.repository import Gio, GLib, Gegl

#gi.require_version ('Gegl', '0.3') 
#from gi.repository import Gegl

if __name__ == '__main__':
    obj = Gio.MemoryOutputStream ()
    print (type (obj.get_property ("data")))

    Gegl.init (None)
    buf = Gegl.Buffer (format=Gegl.format ("RGB float"))
    print type (buf.get_property ("format"))
