Closed erhosen closed 3 years ago
Hi :wave:
Thank you for giving the Connect Python SDK a try! We greatly appreciate your feedback.
It looks like the documentation for the loading into an objects using annotations is a little outdated and needs some work. But for now, it's good to know that load()
needs a reference to an object. In your specific example, this can be done by instantiating the object before passing it to load()
:
class Config:
SECRET: 'opitem:"Secret key" opvault:vault_id opfield:.password' = None
config = Config()
onepasswordconnectsdk.load(client, config)
Could you let me know if that fixes the issues?
Thank you for your response. I will definitely try it soon!
Hi! Im trying to initialize my config via load method:
But I have the error on this line
The correct way of getting annotations is
Python 3.9 onepasswordconnectsdk==1.0.1