(self, obj)
Called by Resource code to verify no fields were passed in that were not in the field specification.
Called by Resource code to verify no fields were passed in that were not in the field specification.
Called by Resource code to verify no fields were passed in that were not in the field specification .
def find_unexpected_keys(self, obj):

        """
        Called by Resource code to verify no fields were passed in that were not in the field specification.
        """

        for (k,v) in obj.kwargs.items():
            if k.startswith("!"):
                continue
            if k not in self.fields:
                raise Exception("%s: parameter is not understood, %s" % (self, k))
def find_unexpected_keys ( self , obj ) : for ( k , v ) in obj . kwargs . items ( ) : if k . startswith ( "!" ) : continue if k not in self . fields : raise Exception ( "%s: parameter is not understood, %s" % ( self , k ) )