Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

Python3 Migration Notes

Amanda Goldani edited this page Jun 24, 2021 · 9 revisions

This page is intended to show the differences between old version of the code and the new one.

ReqMgrReader

Includes all functions from utils.py talking to the request manager.

Python 2 Python 3 tested notes
utils.py/getWorkload() src/python/Services/ReqMgr/ReqMgrReader.getWorkflowSchema() there is duplicated code in utils.py/workflowInfo.init() (~line 3814) doing the same thing, in this case use try_cache=True if keeping the same behavior when migrating to Python 3
utils.py/getWorkflowByCampaign() src/python/Services/ReqMgr/ReqMgrReader.getWorkflowSchemaByCampaign()
utils.py/getWorkflowByOutput() src/python/Services/ReqMgr/ReqMgrReader.getWorkflowSchemaByOutput() changed endpoint from couchdb
utils.py/getWorkflowById() src/python/Services/ReqMgr/ReqMgrReader.getWorkflowSchemaByPrepId() changed endpoint from couchdb
utils.py/getWorkflows() src/python/Services/ReqMgr/ReqMgrReader.getWorkflowsByStatus()
utils.py/getWorkflowsByName() src/python/Services/ReqMgr/ReqMgrReader.getWorkflowSchemaByName()
utils.py/workflowInfo.getSchema() src/python/Services/ReqMgr/ReqMgrReader.getSchema()
utils.py/getReqmgrInfo() src/python/Services/ReqMgr/ReqMgrReader.getReqmgrInfo()
utils.py/getAgentConfig() src/python/Services/ReqMgr/ReqMgrReader.getAgentConfig()
utils.py/workflowInfo.getSplittingsNew() src/python/Services/ReqMgr/ReqMgrReader.getSplittingsNew()
Clone this wiki locally