inventree / inventree-python

Python library for communication with inventree via API
https://docs.inventree.org/en/latest/api/python/python/
MIT License
26 stars 34 forks source link

Add support for metadata #188

Closed miggland closed 1 year ago

miggland commented 1 year ago

Since https://github.com/inventree/InvenTree/pull/4410, several models have metadata, but it is not activated in the python API.

This would be achieved by adding inventree.base.MetadataMixin to the Classes.

Alternatively: is there a way of determining that the URL metadata is active or not? (The URL works, even if metadata is not assigned - it is simply ignored)