Merge pull request #362 from chisholm/file_id_contrib_props
Add parent_directory_ref as an ID contributing property for file SCOsmaster
commit
3dda25e976
|
@ -382,7 +382,7 @@ class File(_Observable):
|
||||||
('granular_markings', ListProperty(GranularMarking)),
|
('granular_markings', ListProperty(GranularMarking)),
|
||||||
('defanged', BooleanProperty(default=lambda: False)),
|
('defanged', BooleanProperty(default=lambda: False)),
|
||||||
])
|
])
|
||||||
_id_contributing_properties = ["hashes", "name", "extensions"]
|
_id_contributing_properties = ["hashes", "name", "parent_directory_ref", "extensions"]
|
||||||
|
|
||||||
def _check_object_constraints(self):
|
def _check_object_constraints(self):
|
||||||
super(File, self)._check_object_constraints()
|
super(File, self)._check_object_constraints()
|
||||||
|
|
Loading…
Reference in New Issue