how can i call DataLoader.set_vault_password in ansible 2.4.2

Hi guys

being a rookie of Ansible

I’m trying to call playbook from ansible api,using password, unfortunately find out that DataLoader doesn’t have set_vault_password any more

dataloader.py

Usage:

   dl = DataLoader()
   # optionally: dl.set_vault_password('foo')
   ds = dl.load('...')
   ds = dl.load_from_file('/path/to/file')

‘’’

what should I do if I don’t want to save my password in a vault-password-file?