Coverage for ejpiaj/variable_extractor : 94%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
def json_variables_extractor(response, variables): """Extracts variables from json response.content.
Variables path are written using 'dot' access and index access to lists f.i.:
some.path.to.list.[0] [1].dict.access.later """
# use 'dot' access to dictionary # support for list access [0] else:
def response_variables_extractor(response, variables): # support for list access [0] else: else: except: result[name] = None |