Skip to content

Commit

Permalink
forgot one...
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanvg committed Nov 19, 2020
1 parent 49985cc commit e7242c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stix2/v21/observables.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))],
Expand Down

0 comments on commit e7242c9

Please sign in to comment.