Hi,
Just to note, this mailing list related to pydev development (not user
questions).
The proper channel for this would be creating an entry in stackoverflow.com
(and adding a 'pydev' tag in the entry).
There's already a post there which may get you going:
http://stackoverflow.com/questions/2112715/how-do-i-fix-pydev-undefined-variable-from-import-errors
Best Regards,
Fabio
On Wed, Jun 18, 2014 at 7:24 AM, xeon <xeo...@gm...> wrote:
> I am using celery in my program to invoke remote functions using a
> message queueing service (RabbitMQ).
>
> I call my function with celery with this:
> myfunc.apply_async(queue=cluster, args=(chain, cluster, )), but although
> the call is correct and it works, in eclipse I get the error that
> "undefined variable from import: apply_async".
>
> This happens, because to celery methods it is just need to append celery
> methods to my function, and not code them.
> That is true that I didn`t define apply_async function, nor imported. I
> just use it like celery docs suggests. Eclipse can`t see this.
>
> The celery community say that it is eclipse python linter causing the
> issue and they suggest to contact the pydev community regarding the matter.
>
> How I make this error disappears in the eclipse?
>
>
> --
> Thanks,
>
>
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> pydev-code mailing list
> pyd...@li...
> https://lists.sourceforge.net/lists/listinfo/pydev-code
>
|