cti-python-stix2
cti-python-stix2 copied to clipboard
Fix properties types
- Rename properties types based on the naming pattern
- Add missing _type field
@chisholm - is this worth merging?
In principle, I am okay with what the changes are doing. But this doesn't appear to change type names in enough places. For example, see imports in:
https://github.com/oasis-open/cti-python-stix2/blob/6dd83fae9dfa6b3fda9de865801d5796f9d8f7e7/stix2/v21/init.py#L26-L35
This change breaks some of those imports. Perhaps an IDE should be used to do the refactor, to ensure the names are changed in all places they are used.