class documentation
class ListField(mongoengine.fields.ListField, Field): (source)
Known subclasses: fiftyone.core.fields.ClassesField
, fiftyone.core.fields.FrameSupportField
, fiftyone.core.fields.HeatmapRangeField
, fiftyone.core.fields.KeypointsField
, fiftyone.core.fields.PolylinePointsField
Constructor: ListField(field, description, info, read_only, ...)
A list field that wraps a standard Field
, allowing multiple
instances of the field to be stored as a list in the database.
If this field is not set, its default value is [].
Parameters | |
field | an optional Field instance describing the
type of the list elements |
description | an optional description |
info | an optional info dict |
read | whether the field is read-only |
created | the datetime the field was created |
Method | __init__ |
Undocumented |
Method | __str__ |
Undocumented |
Method | _set |
Undocumented |
Instance Variable | _created |
Undocumented |
Instance Variable | _description |
Undocumented |
Instance Variable | _info |
Undocumented |
Instance Variable | _read |
Undocumented |
Inherited from Field
:
Method | copy |
Returns a copy of the field. |
Method | description |
Undocumented |
Method | info |
Undocumented |
Method | read |
Undocumented |
Method | save |
Saves any edits to this field's description and info attributes. |
Property | path |
The fully-qualified path of this field in the dataset's schema, or None if the field is not associated with a dataset. |
Method | _set |
Undocumented |
Instance Variable | __dataset |
Undocumented |
Instance Variable | __path |
Undocumented |
Property | _dataset |
The fiftyone.core.dataset.Dataset that this field belongs to, or None if the field is not associated with a dataset. |
def __init__(self, field=None, description=None, info=None, read_only=False, created_at=None, **kwargs):
(source)
¶
overrides
fiftyone.core.fields.Field.__init__
overridden in
fiftyone.core.fields.ClassesField
, fiftyone.core.fields.FrameSupportField
, fiftyone.core.fields.HeatmapRangeField
Undocumented