nodes: 0, module; 1, function_definition; 2, function_name:priority; 3, parameters; 4, block; 5, identifier:self; 6, expression_statement; 7, comment:# Markers have priority set on the class; 8, if_statement; 9, comment:# Other types have static priority; 10, return_statement; 11, comment:""" Get priority for this Schema.
  
          Used to sort mapping keys
  
          :rtype: int
          """; 12, comparison_operator:self.compiled_type == const.COMPILED_TYPE.MARKER; 13, block; 14, subscript; 15, attribute; 16, attribute; 17, return_statement; 18, attribute; 19, attribute; 20, identifier:self; 21, identifier:compiled_type; 22, attribute; 23, identifier:MARKER; 24, attribute; 25, identifier:const; 26, identifier:compiled_type_priorities; 27, identifier:self; 28, identifier:compiled_type; 29, identifier:const; 30, identifier:COMPILED_TYPE; 31, attribute; 32, identifier:priority; 33, identifier:self; 34, identifier:compiled
code: def priority(self):
          """ Get priority for this Schema.
  
          Used to sort mapping keys
  
          :rtype: int
          """
          # Markers have priority set on the class
          if self.compiled_type == const.COMPILED_TYPE.MARKER:
              return self.compiled.priority
  
          # Other types have static priority
          return const.compiled_type_priorities[self.compiled_type]