Tags: itmyprofession/edx-platform
Tags
Merge pull request openedx#23958 from cpennington/fix-case-collision-… …course-keys Fix case collision course keys
Updating Python Requirements (openedx#23955)
changed count to count_documents (openedx#23945) This PR contributes to the elimination of deprecation warnings, specifically the one mentioned above and reported in the Warnings Report: https://build.testeng.edx.org/job/edx-platform-python-pipeline-master/warning_5freport_5fall_2ehtml/ . Changed collection.find(filter).count() to collection.count_documents(filter) in the following file: common/lib/xmodule/xmodule/modulestore/tests/test_split_modulestore.py And collection.find(filter).limit(1).count() to collection.count_documents(filter, limit=1) in the following file: common/lib/xmodule/xmodule/modulestore/mongo/draft.py The method count_documents is part of the collection, not the cursor (find returns a cursor), according to StackOverflow (https://stackoverflow.com/questions/56303331/warning-message-in-pymongo-count-is-deprecated). Because of that after changing count, I removed the calling to the find method and use the filter parameter in count_documents. Also, I removed limit because count_documents accepts limit parameter. This warning occurs due to deprecation: https://pymongo.readthedocs.io/en/3.9.0/api/pymongo/collection.html#pymongo.collection.Collection.count_documents
Merge pull request openedx#23942 from edx/dsheraz/PROD-1553 update cielo api settings
Merge pull request openedx#23953 from edx/revert-23921-kaplan/REV-113… …6_financial_aid Revert "Add financial assistance link in course tools"
Merge pull request openedx#23949 from edx/astankiewicz/edx-enterprise… …-upgrade upgrade edx-enterprise to 3.2.10
Update the LibraryLocator attribute from 'course' to 'library' (opene… …dx#23924) This PR solves the deprecation warning found here: https://build.testeng.edx.org/job/edx-platform-python-pipeline-master/warning_5freport_5fall_2ehtml/ Change: (LibraryLocator(org='org', course='course'), False) To: (LibraryLocator(org='org', library='course'), False) In the file: openedx/core/djangoapps/content/block_structure/tests/test_signals.py * LibraryLocator is from the opaque_keys.edx.locator module See documentation: https://pythonhosted.org/edx-opaque-keys/opaque_keys.edx.html#opaque_keys.edx.locator.LibraryLocator
Merge pull request openedx#23885 from edx/aakbar/PROD-1478 Unauthenticated Contact Us improvements
Merge pull request openedx#23897 from edx/aj/dashboard_error PR to fix issue loading dashboard when there is a version mismatch in
PreviousNext