We need that all the trust chains and statements validations/operations must be independent from django framework.
This way the code can be used/imported as it is even in a different python framework.
at the same time we MAY support the resuse of already cached statements, instead of download them each time.
this can be done in two different way:
pass all the cached entries as argument -> bad
create and dynamically import a proxy function that queries the django ORM. This function can be configured as a string in a general setting and imported dynamicall runtime -> good
with the second choice we'll get all the statements on each occurence
We need that all the trust chains and statements validations/operations must be independent from django framework.
This way the code can be used/imported as it is even in a different python framework.
at the same time we MAY support the resuse of already cached statements, instead of download them each time.
this can be done in two different way:
with the second choice we'll get all the statements on each occurence