1Password / connect-sdk-python

Python SDK for 1Password Connect
https://developer.1password.com/docs/connect
MIT License
200 stars 31 forks source link

[bug] Allow field type to be a reference #52

Closed HaddadJoe closed 1 year ago

HaddadJoe commented 1 year ago

Resolves bug where REFERENCE items do not get resolved when doing client_from_token.get_item(item, vault)

ValueError: Invalid value for `type` (REFERENCE), must be one of ['STRING', 'EMAIL', 'CONCEALED', 'URL', 'OTP', 'DATE', 'MONTH_YEAR', 'MENU']

Similar to https://github.com/1Password/connect-sdk-python/issues/12

HaddadJoe commented 1 year ago

@jpcoenen saw you merging a similar PR, could you take a quick look at this please?