class_docstr: A class to remove Serde-related keyword arguments from call expressions.
class_docstr_tok: ["A","class","to","remove","Serde-related","keyword","arguments","from","call","expressions","."]
docstr: Removes the serializer and deserializer keywords, as applicable.
  
  Args:
      node (ast.Call): a node that represents a ``create_model`` call.
  
  Returns:
      ast.Call: the node that represents a ``create_model`` call without
          serializer or deserializers keywords.
docstr_tok: ["Removes","the","serializer","and","deserializer","keywords",",","as","applicable",".","Args",":","node","(","ast.Call",")",":","a","node","that","represents","a","``","create_model","``","call",".","Returns",":","ast.Call",":","the","node","that","represents","a","``","create_model","``","call","without","serializer","or","deserializers","keywords","."]
code: def modify_node(self, node):
      """Removes the serializer and deserializer keywords, as applicable.
  
      Args:
          node (ast.Call): a node that represents a ``create_model`` call.
  
      Returns:
          ast.Call: the node that represents a ``create_model`` call without
              serializer or deserializers keywords.
      """
      i = 0
      while i < len(node.keywords):
          keyword = node.keywords[i]
          if keyword.arg in {"serializer", "deserializer"}:
              node.keywords.pop(i)
          else:
              i += 1
      return node
  
imports: from __future__ import absolute_import
  import ast
  from sagemaker.cli.compatibility.v2.modifiers import matching
  from sagemaker.cli.compatibility.v2.modifiers.modifier import Modifier
label_desc: Use image node_id 2 for calling the SerdeKeywordRemover obj's underlying member method code with example usage: obj.modify_node(node) and returns: node