We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
> python .\sample.py Traceback (most recent call last): File ".\sample.py", line 17, in <module> coverage = weather.get_coverage(weather) # GS-specific functionality File "C:\Users\scott\AppData\Roaming\Python\Python37\site-packages\gs_quant\data\dataset.py", line 234, in get_coverage fields=fields File "C:\Users\scott\AppData\Roaming\Python\Python37\site-packages\gs_quant\api\gs\data.py", line 137, in get_coverage body = GsSession.current._get('/data/{}/coverage'.format(dataset_id), payload=params) File "C:\Users\scott\AppData\Roaming\Python\Python37\site-packages\gs_quant\session.py", line 165, in _get return self.__request('GET', path, payload=payload, cls=cls, include_version=include_version) File "C:\Users\scott\AppData\Roaming\Python\Python37\site-packages\gs_quant\session.py", line 140, in __request raise MqRequestError(response.status_code, response.text, context='{} {}'.format(method, url)) gs_quant.errors.MqRequestError: context: GET https://api.marquee.gs.com/v1/data/WEATHER/coverage status: 400, message: {"statusCode":400,"reasonPhrase":"Bad Request","title":"Path/Query Parameter Validation Error","messages":["Failed validation of request path and/or query parameters: [ECMA 262 regex \"^[\\d]{1,256}$\" does not match input string \"<gs_quant.data.dataset.Dataset object at 0x000002061B96F6D8>\"]"]}
The text was updated successfully, but these errors were encountered:
You are not providing correct data to the get_coverage.
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: