Factory-style creation that dispatches to the correct subclass.
When invoked on Item, the caller must provide a
type keyword argument identifying the desired item type. For
concrete subclasses, type is injected automatically.
- Parameters:
- **kwargs
Fields required by the concrete item type. When called on
Item, must include type. Eg: type="table", content=my_array.
- Returns:
ItemNewly created and saved item instance.
- Raises:
ADRExceptionIf type is missing when called on Item.