Akihiro Motoki 0c1e179b3c api.rest.neutron: Ensure dict is passed to api.neutron args
Some functions in api/neutron use @memoized decorator,
but @memoized decorator cannot handle request.GET (an instance of
QueryDict) because a weakref to WSGIRequest is not hashable.
(Note that @memoized decorator can handle a dict itself)

What we actually need is the content of request.GET.
By using .dict() method we can ensure arguments which
@memoized can handle are passed to api.neutron functions.

This pattern is used only in api.rest.neutron and
not used in other codes.

Closes-Bug: #1706348
Change-Id: Ibb38ad1d95af1cd90a1fedd834602f444010c151
2017-08-08 16:58:27 +00:00
..
2015-05-13 12:39:00 -06:00
2017-06-27 14:20:03 +00:00
2012-04-23 22:24:21 -07:00
2017-07-03 08:02:23 +00:00
2017-07-26 11:52:35 +01:00
2017-07-26 11:52:35 +01:00