Add Sighting.summary default value

See also #507.
pull/1/head
Chris Lenk 2021-06-21 10:56:24 -04:00
parent 646aaa39a0
commit a95a463619
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class Sighting(_RelationshipObject):
('sighting_of_ref', ReferenceProperty(valid_types="SDO", spec_version='2.1', required=True)),
('observed_data_refs', ListProperty(ReferenceProperty(valid_types='observed-data', spec_version='2.1'))),
('where_sighted_refs', ListProperty(ReferenceProperty(valid_types=['identity', 'location'], spec_version='2.1'))),
('summary', BooleanProperty()),
('summary', BooleanProperty(default=lambda: False)),
('revoked', BooleanProperty(default=lambda: False)),
('labels', ListProperty(StringProperty)),
('confidence', IntegerProperty()),