This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2023-03-21 16:31:43 +00:00
|
|
|
import ereuse_devicehub.teal.marshmallow
|
2019-01-23 15:55:04 +00:00
|
|
|
from marshmallow import fields as mf
|
|
|
|
|
|
|
|
from ereuse_devicehub.resources.schemas import Thing
|
|
|
|
|
|
|
|
|
|
|
|
class Inventory(Thing):
|
|
|
|
id = mf.String(dump_only=True)
|
|
|
|
name = mf.String(dump_only=True)
|
2023-03-21 16:31:43 +00:00
|
|
|
tag_provider = ereuse_devicehub.teal.marshmallow.URL(
|
|
|
|
dump_only=True, data_key='tagProvider'
|
|
|
|
)
|