load_default
reusing property instance between loaded instances
#2156
Labels
load_default
reusing property instance between loaded instances
#2156
Hi
I've defined following schema for my HTTP request (use flask as http server)
When testing application locally I've noticed super strange behaviour: for subsequent HTTP requests when
variables
is not provided in request payload I sometimes see that it is not empty dict.It looks that
load_default
re-use instance so when during internal processing/some request provide value for it, requests without this value won't have empty dict but contain value from different request.Is it a way to make sure that default values will always be as defined (not share mutable instance)?
The text was updated successfully, but these errors were encountered: