Adds inventaire connector stub

And changes formatters to accept the key as well as value
This commit is contained in:
Mouse Reeve
2021-04-06 11:58:07 -07:00
parent 295842badd
commit d482c66ad4
3 changed files with 92 additions and 8 deletions

View File

@ -296,6 +296,6 @@ class Mapping:
if not value:
return None
try:
return self.formatter(value)
return self.formatter(value, self.remote_field)
except: # pylint: disable=bare-except
return None