parameters: ()
docstring: changes addressTypes of all Mishneh Torah indexs to ['Perek' , 'Halkhah']
      :return:
docstring_summary: changes addressTypes of all Mishneh Torah indexs to ['Perek' , 'Halkhah']
      :return:
docstring_tokens: changes addressTypes of all Mishneh Torah indexs to [ Perek Halkhah ] : return :
function: def change_mishneh_torah():
      '''
      changes addressTypes of all Mishneh Torah indexs to ['Perek' , 'Halkhah']
      :return:
      '''
  
      yad_list = library.get_indexes_in_category("Mishneh Torah")
      schema_yad_dict = {}
      for title in yad_list:
          schema_yad_dict[title] = library.get_schema_node(title)
  
      for node in list(schema_yad_dict.values()):
          # excluding depth one ['Integer'] address types (ex, in category introduction)
          if len(node.sectionNames) != 2:
              continue
          change_node_structure(node, node.sectionNames, address_types=['Perek', 'Halakhah'])
function_tokens: def change_mishneh_torah ( ) : yad_list = library . get_indexes_in_category ( "Mishneh Torah" ) schema_yad_dict = { } for title in yad_list : schema_yad_dict [ title ] = library . get_schema_node ( title ) for node in list ( schema_yad_dict . values ( ) ) : # excluding depth one ['Integer'] address types (ex, in category introduction) if len ( node . sectionNames ) != 2 : continue change_node_structure ( node , node . sectionNames , address_types = [ 'Perek' , 'Halakhah' ] )