"""
Dataset run documents.

| Copyright 2017-2021, Voxel51, Inc.
| `voxel51.com <https://voxel51.com/>`_
|
"""
from mongoengine import DictField, ListField, StringField, DateTimeField

from .document import EmbeddedDocument


class RunDocument(EmbeddedDocument):
    """Description of a run on a dataset."""

    key = StringField()
    timestamp = DateTimeField()
    config = DictField()
    view_stages = ListField(StringField())

"""
Dataset run documents.

| Copyright 2017-2021, Voxel51, Inc.
| `voxel51.com <https://voxel51.com/>`_
|
"""
from mongoengine import DictField, ListField, StringField, DateTimeField

from .document import EmbeddedDocument


class RunDocument(EmbeddedDocument):
    """Description of a run on a dataset."""

    key = StringField()
    timestamp = DateTimeField()
    config = DictField()
    view_stages = ListField(StringField())

Dataset run documents.  | Copyright 2017-2021, Voxel51, Inc. | `voxel51.com <https://voxel51.com/>`_ | Description of a run on a dataset.