parameters: (self, schemes=None)
docstring: Gets the highest priority matching URN for this contact. Schemes may be a single scheme or a set/list/tuple
docstring_summary: Gets the highest priority matching URN for this contact. Schemes may be a single scheme or a set/list/tuple
docstring_tokens: Gets the highest priority matching URN for this contact . Schemes may be a single scheme or a set / list / tuple
function: def get_urn(self, schemes=None):
          """
          Gets the highest priority matching URN for this contact. Schemes may be a single scheme or a set/list/tuple
          """
          if isinstance(schemes, str):
              schemes = (schemes,)
  
          urns = self.get_urns()
  
          if schemes is not None:
              for urn in urns:
                  if urn.scheme in schemes:
                      return urn
              return None
          else:
              # otherwise return highest priority of any scheme
              return urns[0] if urns else None
function_tokens: def get_urn ( self , schemes = None ) : if isinstance ( schemes , str ) : schemes = ( schemes , ) urns = self . get_urns ( ) if schemes is not None : for urn in urns : if urn . scheme in schemes : return urn return None else : # otherwise return highest priority of any scheme return urns [ 0 ] if urns else None