CERT-Polska / mwdblib

Client library for the mwdb service by CERT Polska.
https://mwdblib.readthedocs.io/en/latest/
MIT License
40 stars 13 forks source link

`self.flush` removes "type" key from data #54

Closed psrok1 closed 2 years ago

psrok1 commented 2 years ago

https://github.com/CERT-Polska/mwdblib/blob/9e2e55b19fbaf830ca1a68927148b08a780aff8e/mwdblib/object.py#L347-L352

while type is expected to be loaded eagerly

https://github.com/CERT-Polska/mwdblib/blob/9e2e55b19fbaf830ca1a68927148b08a780aff8e/mwdblib/object.py#L92-L96