Re: problem getting dict into a view
"John Fletcher" <[email protected]> Mon, 04 Jul 2005 14:06:06 +0100
| Newsgroups | gmane.comp.db.metakit |
|---|---|
| Message-ID | <42C9424E.4676.D4B5B0@localhost> |
Date sent: Sun, 3 Jul 2005 11:58:13 -0400 From: Brian Kelley <[email protected]> To: [email protected] Subject: Re: [Metakit] problem getting dict into a view Copies to: [email protected] Send reply to: Brian Kelley <[email protected]> <mailto:[email protected]?subject=unsubscribe> <mailto:[email protected]?subject=subscribe> > the last metatkit.dump should be metakit.dump > > import metakit > st = metakit.storage() > vw = st.getas("test[a:I,b:S]") > data = {"a":1,'b':"hello"} > vw.append(data) > data = {"a":2,'b':"there"} > metakit.dump(vw) > _____________________________________________ > Metakit mailing list - [email protected] > http://www.equi4.com/mailman/listinfo/metakit > Is the metakit.dump a special in the scripting language? I cannot find it in the codes, except for the standalone demo "dump" which does different output. Cheers John -- Dr John P. Fletcher Tel: (44) 121 204 3389 (direct line) Chemical Engineering and Applied Chemistry (CEAC), School of Engineering and Applied Science (SEAS), Aston University, Aston Triangle, BIRMINGHAM B4 7ET U.K. CEAC Web site http://www.ceac.aston.ac.uk/ FAX: (44) 121 204 3679 _____________________________________________ Metakit mailing list - [email protected] http://www.equi4.com/mailman/listinfo/metakit