From 227383cdcbfc741cb66e5aa2a411c28d5643f461 Mon Sep 17 00:00:00 2001 From: Michael Chisholm Date: Fri, 19 Jul 2019 15:58:15 -0400 Subject: [PATCH] Removed _observed_data_init() from workbench.py, part of the old monkeypatching algorithm. It's no longer needed and I forgot to delete it. --- stix2/workbench.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/stix2/workbench.py b/stix2/workbench.py index d43778f..0d20034 100644 --- a/stix2/workbench.py +++ b/stix2/workbench.py @@ -117,12 +117,6 @@ def _related_wrapper(self, *args, **kwargs): return _environ.related_to(self, *args, **kwargs) -def _observed_data_init(self, *args, **kwargs): - self.__allow_custom = kwargs.get('allow_custom', False) - self._properties['objects'].allow_custom = kwargs.get('allow_custom', False) - super(self.__class__, self).__init__(*args, **kwargs) - - def _setup_workbench(): for obj_type in STIX_OBJS: