Fix call to collect STIX2 mappings, make parse_observable available

stix2.1
Emmanuelle Vargas-Gonzalez 2018-07-10 15:31:22 -04:00
parent 8d378fcf81
commit b6fefc52d9
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@
# flake8: noqa
from .core import _collect_stix2_obj_maps, _register_type, parse
from .core import _collect_stix2_mappings, parse, parse_observable
from .v21 import * # This import will always be the latest STIX 2.X version
from .datastore import CompositeDataSource
from .datastore.filesystem import (FileSystemSink, FileSystemSource,
@ -68,6 +68,6 @@ from .patterns import (AndBooleanExpression, AndObservationExpression,
from .utils import new_version, revoke
from .version import __version__
_collect_stix2_obj_maps()
_collect_stix2_mappings()
DEFAULT_VERSION = '2.1' # Default version will always be the latest STIX 2.X version