cti-python-stix2/stix2
Chris Lenk 14540c0ea1 Clean up _register_* functions
Made them consistent with _register_observable_extension, by:
- moving validation logic there from _custom_*_builder functions
- using a new function for ensuring properties are dict-like
- using the library default spec version instead of None

Fix #371, fix #372, fix #373.
2020-04-02 14:15:45 -04:00
..
canonicalization End of changes 2019-09-11 10:44:14 -04:00
confidence update project documentation. 2018-11-28 16:51:00 -05:00
datastore Rename core.py -> parsing.py 2020-03-27 05:53:39 -04:00
markings update check_tlp_marking() to contain new representation for TLP markings 2020-01-28 13:20:20 -05:00
test Clean up _register_* functions 2020-04-02 14:15:45 -04:00
v20 Use TypeProperty.clean() to verify type format 2020-04-01 21:52:04 -04:00
v21 Merge branch 'master' into 365-versioned-classes 2020-04-02 06:02:20 -04:00
__init__.py Rename core.py -> parsing.py 2020-03-27 05:53:39 -04:00
base.py Reorganize bases, use isinstance to check version 2020-03-27 02:40:42 -04:00
custom.py Clean up _register_* functions 2020-04-02 14:15:45 -04:00
environment.py Rename core.py -> parsing.py 2020-03-27 05:53:39 -04:00
exceptions.py Add duplicate checking to markings and observable extensions, and fix some tests and add some tests. Fixes #363 2020-03-27 14:58:18 -04:00
parsing.py Clean up _register_* functions 2020-04-02 14:15:45 -04:00
pattern_visitor.py Removed a bunch of no-longer-used imports from pattern_visitor.py 2020-02-19 16:45:15 -05:00
patterns.py Forgot to add TLSH to a different regex 2019-11-25 16:14:23 -05:00
properties.py Move TypeProperty format checks to __init__ 2020-04-02 08:17:34 -04:00
utils.py Use TypeProperty.clean() to verify type format 2020-04-01 21:52:04 -04:00
version.py Bump version: 1.3.0 → 1.3.1 2020-03-06 09:50:09 -05:00
workbench.py Fix trailing comma 2020-01-04 18:02:01 -05:00