parameters: (self, command_name: str, field_name: str,
                                             old_field_type: str, file: str)
docstring: Add an about the old reply field type's 'any' bson serialization type.
  
          Add an error about the old reply field type's bson serialization type being of type
          'any' when the new type is non-any or when it is not explicitly allowed.
docstring_summary: Add an about the old reply field type's 'any' bson serialization type.
docstring_tokens: Add an about the old reply field type s any bson serialization type .
function: def add_old_reply_field_bson_any_error(self, command_name: str, field_name: str,
                                             old_field_type: str, file: str) -> None:
          """
          Add an about the old reply field type's 'any' bson serialization type.
  
          Add an error about the old reply field type's bson serialization type being of type
          'any' when the new type is non-any or when it is not explicitly allowed.
          """
          self._add_error(ERROR_ID_OLD_REPLY_FIELD_BSON_SERIALIZATION_TYPE_ANY, command_name,
                          ("'%s' has an old reply field or sub-field '%s' of type '%s' "
                           "that has a bson serialization type 'any'") % (command_name, field_name,
                                                                          old_field_type), file)
function_tokens: def add_old_reply_field_bson_any_error ( self , command_name : str , field_name : str , old_field_type : str , file : str ) -> None : self . _add_error ( ERROR_ID_OLD_REPLY_FIELD_BSON_SERIALIZATION_TYPE_ANY , command_name , ( "'%s' has an old reply field or sub-field '%s' of type '%s' " "that has a bson serialization type 'any'" ) % ( command_name , field_name , old_field_type ) , file )