#974 Does not recognize function in module

1.4.8
closed
Editor (491)
5
2010-01-03
2009-09-24
boccobo
No

PyDev does not recognize function in memcache module from Google App Engine as it is not declated explicitely (see attached screenshot).

from google.appengine.api import memcache
data = memcache.get("key")

It is because memcache.get() is declated in memcache/__init__.py as:
_CLIENT = Client()
var_dict['get'] = _CLIENT.get

What to do with that? Pretty annoying error.

The same is experienced with 1.5.0

Discussion

  • boccobo
    boccobo
    2009-09-24

    Error screenshot

     
  • boccobo
    boccobo
    2009-09-24

    Forgot:
    var_dict = globals()

     
  • Fabio Zadrozny
    Fabio Zadrozny
    2009-12-20

    • status: open --> pending
     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending --> closed