-
Notifications
You must be signed in to change notification settings - Fork 0
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
(PXP-5978): async_get_indexd_records #65
base: master
Are you sure you want to change the base?
Conversation
scripts/utils.py
Outdated
@@ -361,7 +361,7 @@ def get_indexd_records(): | |||
def async_get_indexd_records(): | |||
loop = asyncio.get_event_loop() | |||
print("HOST: {}".format(INDEXD["host"])) | |||
loop.run_until_complete(async_download_object_manifest(INDEXD["host"])) | |||
loop.run_until_complete(async_download_object_manifest(INDEXD["host"].replace("index/index", ""))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let use urllib for better since it prevents from any issue if indexd endpoint reconfig
https://docs.python.org/3/library/urllib.parse.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thats useful! Thanks!
Description about what this pull request does.
Please make sure to follow the DEV guidelines before asking for review.
New Features
Breaking Changes
Bug Fixes
Improvements
Dependency updates
Deployment changes