File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -161,13 +161,14 @@ async def from_query_string(query_string: str) -> "RestoreContext":
161161 def flush_pending (self ) -> None :
162162 self .input .flush_pending ()
163163
164- # Returns a dict representation of the RestoreContext object. This is passed
165- # to the app author's onRestore function. An important difference between
166- # the RestoreContext object and the dict is that the former's `input` field
167- # is a RestoreInputSet object, while the latter's `input` field is just a
168- # list.
169-
170164 def as_state (self ) -> RestoreContextState :
165+ """
166+ Returns a dict representation of the RestoreContext object. This is passed
167+ to the app author's onRestore function. An important difference between
168+ the RestoreContext object and the dict is that the former's `input` field
169+ is a RestoreInputSet object, while the latter's `input` field is just a
170+ list.
171+ """
171172 return RestoreContextState (
172173 # Shallow copy
173174 input = {** self .input .as_dict ()},
You can’t perform that action at this time.
0 commit comments