iode.Tables.iode_type

property Tables.iode_type: IodeType

Return the object type of the current database.

Returns:
IodeType

Examples

>>> from iode import SAMPLE_DATA_DIR
>>> from iode import comments
>>> comments.load(f"{SAMPLE_DATA_DIR}/fun.cmt")
Loading .../fun.cmt
317 objects loaded 
>>> comments.iode_type
<IodeType.COMMENTS: 0>