I want to run this command and get it's output using pymongo module.
db.adminCommand({getParameter: 1, logLevel: 1})
or say I want to run this command
db.adminCommand( { setParameter: 1, disableJavaScriptJIT: false } )
basically I want to get the configurations settings using mongodb shell only. I don't have access to configuration file.