xoa.cf.SGLocator.get_loc
- SGLocator.get_loc(name=None, attrs=None, errors='warn')[source]
Parse name and attributes to find a unique location
- Parameters:
- Returns:
None, str –
None
if no location is found, else the corresponding string- Raises:
XoaCFError – When locations parsed from name and attributes are conflicting. Thus, this method method is a way to check location consistency.