MediaMath / t1-python

Python SDK for MediaMath Platform APIs
https://developer.mediamath.com/
Apache License 2.0
18 stars 30 forks source link

PATHS not imported in pixels.py #113

Closed Cawb07 closed 7 years ago

Cawb07 commented 7 years ago

When trying to use the Pixel entity's remove function, this line causes traceback:

Traceback (most recent call last):
  File "./ttd_pixel_remove.py", line 57, in <module>
    main()
  File "./ttd_pixel_remove.py", line 50, in main
    removed = remove_from_pixel(pixel)
  File "./ttd_pixel_remove.py", line 36, in remove_from_pixel
    child.remove()
  File "/Library/Python/2.7/site-packages/terminalone/models/pixel.py", line 42, in remove
    self._post(PATHS['mgmt'], rest=url, data={'version': self.version})
NameError: global name 'PATHS' is not defined