Skip to content
This repository was archived by the owner on Jun 12, 2021. It is now read-only.

Commit 4065a04

Browse files
committed
Let the post_args be carried along when running pre_constructors.
1 parent 51df9e2 commit 4065a04

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/oidcservice/service.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,10 @@ def do_pre_construct(self, request_args, **kwargs):
137137
_args = self.method_args('pre_construct', **kwargs)
138138
post_args = {}
139139
for meth in self.pre_construct:
140-
request_args, _post_args = meth(request_args, service=self, **_args)
141-
post_args.update(_post_args)
140+
request_args, _post_args = meth(request_args, service=self, post_args=post_args,
141+
**_args)
142+
# Not necessarily independent
143+
# post_args.update(_post_args)
142144

143145
return request_args, post_args
144146

0 commit comments

Comments
 (0)