Timestamp properties can now be checked against filter values which are either strings or datetime objects, using datetime semantics (previously, it reduced to a string compare). If a stix object property is datetime-valued and the filter value is a string, the string is parsed to a datetime object, rather than the other way around. Filtering in the filesystem store now parses JSON dicts to _STIXBase objects before applying the filters. Due to the parsing change, bad JSON content can produce a different kind of error, so I had to change one of the tests. |
||
|---|---|---|
| .. | ||
| datastore | ||
| markings | ||
| test | ||
| v20 | ||
| __init__.py | ||
| base.py | ||
| core.py | ||
| environment.py | ||
| exceptions.py | ||
| patterns.py | ||
| properties.py | ||
| utils.py | ||
| version.py | ||
| workbench.py | ||