disregard  i see your comment to daryl about why this cannot just be a dump of the object s dictionary  i would probably still like to see something a bit more elegant here maybe a list of values for the request kwargs that is iterated to build the dictionary  but that is totally personal preference 