code: def get_oracle_db(
      dbserver=None, port=1521, sid="ORCL", credential=None
  ):
      dbserver = dbserver or cfg.obtain(
          "datalad.externals.nda.dbserver", default=DEFAULT_SERVER
      )
      # This specific username has access to the 'Image' selection of NDA as of about today
      # username = username \
      #           or cfg.get('externals:nda', 'username',
      #                default='halchenkoy_103924')
      if not credential:
          providers = Providers.from_config_files()
          credential = providers.get_provider(DEFAULT_SERVER).credential
  
      if not isinstance(credential, dict):
          credential = credential()
  
      import cx_Oracle  # you must have the beast if you want to access the dark side
  
      dsnStr = cx_Oracle.makedsn(dbserver, port, sid)
      db = cx_Oracle.connect(
          user=credential["user"],
          password=credential["password"],
          dsn=dsnStr,
      )
  
      return db
  
imports: from datalad import cfg
  from datalad.downloaders.providers import Providers
  from logging import getLogger
  from collections import namedtuple
label_desc: Use image node_id 1 for calling a global function with example usage: get_oracle_db(dbserver, port, sid, credential) and returns: db