Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

async query does not work #123

Open
ijiraq opened this issue Nov 7, 2019 · 0 comments
Open

async query does not work #123

ijiraq opened this issue Nov 7, 2019 · 0 comments
Assignees
Labels

Comments

@ijiraq
Copy link
Collaborator

ijiraq commented Nov 7, 2019

@andamian when running the latest astroquery I get this error when trying to do an async query:

In [13]: c.run_query(query, operation='async', output_file='test.csv', background=True)
WARNING: AstropyDeprecationWarning: Use exec_sync or create_async instead [warnings]

NotImplementedError Traceback (most recent call last)
in
----> 1 c.run_query(query, operation='async', output_file='test.csv', background=True)

/anaconda3/lib/python3.7/site-packages/astropy/utils/decorators.py in deprecated_func(*args, **kwargs)
122 warnings.warn(message, category, stacklevel=2)
123
--> 124 return func(*args, **kwargs)
125
126 # If this is an extension function, we can't call

/anaconda3/lib/python3.7/site-packages/astroquery/cadc/core.py in run_query(self, query, operation, output_file, output_format, verbose, background, upload_resource, upload_table_name)
658 A Job object
659 """
--> 660 raise NotImplementedError('No longer supported. '
661 'Use exec_sync or create_async instead.')
662

NotImplementedError: No longer supported. Use exec_sync or create_async instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants