forgot one...

pull/1/head
Emmanuelle Vargas-Gonzalez 2020-11-19 08:48:57 -05:00
parent 49985cc51d
commit e7242c9ae6
1 changed files with 1 additions and 0 deletions

View File

@ -937,6 +937,7 @@ def CustomObservable(type='x-custom-observable', properties=None, id_contrib_pro
def wrapper(cls):
_properties = list(itertools.chain.from_iterable([
[('type', TypeProperty(type, spec_version='2.1'))],
[('spec_version', StringProperty(fixed='2.1'))],
[('id', IDProperty(type, spec_version='2.1'))],
properties,
[('extensions', ExtensionsProperty(spec_version='2.1', enclosing_type=type))],