[Checkins] SVN: lovely.tag/trunk/src/lovely/tag/ Added ssome simple statistic functions for the tagging engine.

Stephan Richter srichter at cosmos.phy.tufts.edu
Sat Nov 25 16:50:19 EST 2006


On Monday 20 November 2006 03:21, Jأƒآ�rgen Kartnaller wrote:
> +Tagging Statistics
> +------------------
> +
> +  >>> from lovely.tag.interfaces import ITaggingStatistics
> +  >>> ITaggingStatistics.providedBy(engine)
> +  True
> +  >>> engine.tagCount()
> +  6
> +  >>> engine.itemCount()
> +  3
> +  >>> engine.userCount()
> +  2

Let's make those properties, otherwise the methods should start with "get".

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Checkins mailing list