> From: Allyn Treshansky > Sent: Wednesday, September 21, 2011 4:04 PM
> > In the generateDS documentation, using the "people" example, you have > code that looks like this: > > def test(names): > people = api.people() > for count, name in enumerate(names): > id = '%d' % (count + 1, ) > person = api.person(name=name, id=id) > people.add_person(person) > people.export(sys.stdout, 0) > > when it ought to look like this: > > def test(names): > people = api.peopleType() > for count, name in enumerate(names): > id = '%d' % (count + 1, ) > person = api.personType(name=name, id=id) > people.add_person(person) > people.export(sys.stdout, 0) > > It should call "peopleType()" and "personType()" instead of "people()" > or "person()." > > A simple mistake I should have noticed straight away. Sorry to pester you. Allyn - You are not pestering me at all. It helps to have someone nudge me to fix these things. You are right. That documentation is confusing. So, I've brought some of the examples up-to-date and tried to make them more consistent with the examples in the Demos/People/ directory. I've gone through the document and tried to fix those inconsistent sections. I've also fixed up and updated the sample files in the tutorial/Code/ directory. Thank you for bring this to my attention and for your help with it. I hope to release a new version that includes these fixes and a few others next week sometime. Thanks again. - Dave -- Dave Kuhlman http://www.rexx.com/~dkuhlman ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users