8d13235b74
* Fixed bug causing filtering with an empty query Fixed bug allowing blueprint import to filter for existing models using an empty query. The code only checks if the `identifiers` dict is empty, but `__query_from_identifier` skips identifier member values of type `dict` or keys == `pk`, so it is possible to produce an empty query if an `identifier` consists of just `dict` type members or "pk" key. Signed-off-by: sdimovv <36302090+sdimovv@users.noreply.github.com> * Added test case * Added support for using dict fields as blueprint entry identifiers * Disabled pylint too-many-locals for _validate_single Signed-off-by: sdimovv <36302090+sdimovv@users.noreply.github.com> |
||
---|---|---|
.. | ||
admin | ||
api | ||
blueprints | ||
core | ||
crypto | ||
events | ||
flows | ||
lib | ||
outposts | ||
policies | ||
providers | ||
recovery | ||
root | ||
sources | ||
stages | ||
tenants | ||
__init__.py |