verbose is a url parameter rather than a property

On Mon, Jul 1, 2013 at 8:28 PM, Amy Quispe <notifications@github.com> wrote:

> In mixpanel.py:
>
> > +        else:
> > +            raise RuntimeError('%s failed', endpoint)
> > +
> > +    """
> > +    For basic event tracking. Should pass in name of event name and dictionary
> > +    of properties.
> > +    Example:
> > +        mp.track('clicked button', { 'color': 'blue', 'text': 'no' })
> > +    """
> > +    def track(self, event_name, properties={}, verbose=True):
> > +        assert(type(event_name) == str), 'event_name not a string'
> > +        assert(len(event_name) > 0), 'event_name empty string'
> > +        assert(type(properties) == dict), 'properties not dictionary'
> > +        all_properties = { '$token' : self._token }
> > +        all_properties.update(properties)
> > +        all_properties.update( { 'verbose': verbose} )
>
> Neil and I discussed making everything verbose, but I can remove that if
> you think it's not necessary.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mixpanel/mixpanel-python/pull/1/files#r4977227>
> .
>



-- 
Cofounder, Mixpanel
We're hiring! http://mixpanel.com/jobs
360.909.5389