From 86536b43b1bb2bb4563882ada95ecdc693e6b5a2 Mon Sep 17 00:00:00 2001 From: chrisr3d Date: Wed, 5 Dec 2018 23:47:43 +0100 Subject: [PATCH] fix: Avoiding our additional parameter to be in the parsed STIX objects --- stix2/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stix2/base.py b/stix2/base.py index 0fd7858..020322e 100644 --- a/stix2/base.py +++ b/stix2/base.py @@ -124,9 +124,10 @@ class _STIXBase(collections.Mapping): for m in self.get("granular_markings", []): validate(self, m.get("selectors")) - def __init__(self, allow_custom=False, **kwargs): + def __init__(self, allow_custom=False, interoperability=False, **kwargs): cls = self.__class__ self.__allow_custom = allow_custom + self.__interoperability = interoperability # Use the same timestamp for any auto-generated datetimes self.__now = get_timestamp()