Skip to content

Commit

Permalink
Rename argument
Browse files Browse the repository at this point in the history
  • Loading branch information
jkseppan committed Nov 10, 2018
1 parent 7df496f commit 379d75c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dash/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ class DashResponse(Response):
Return a `DashResponse` object from a Dash callback in order to set
other properties of the response like headers or cookies.
"""
def __init__(self, response, **kwargs):
def __init__(self, output_value, **kwargs):
super(DashResponse, self).__init__(
'', # filled in by set_data later
mimetype='application/json', **kwargs)
self.output_value = response
self.output_value = output_value

def jsonify_response(self, output):
"""
Expand Down

0 comments on commit 379d75c

Please sign in to comment.