izar / pytm

A Pythonic framework for threat modeling
Other
876 stars 165 forks source link

Fix encoding errors due to compatibility between #151 and #154 #157

Closed nozmore closed 3 years ago

nozmore commented 3 years ago

With #154 the Finding.id value is not an int and Threat.id is a str, the common encoding method needs to handle id differently between the 2 object types.

ghost commented 3 years ago

DeepCode failed to analyze this pull request

Something went wrong despite trying multiple times, sorry about that. Please comment this pull request with "Retry DeepCode" to manually retry, or contact us so that a human can look into the issue.