code: def _handle_start_member(self, attrs):
          
  
          params = {
              # ToDo: Parse attributes
              'attributes': {},
              'ref': None,
              'result': self._result,
              'role': None
          }
          if attrs.get('ref', None):
              params['ref'] = int(attrs['ref'])
          if attrs.get('role', None):
              params['role'] = attrs['role']
  
          cls_map = {
              "area": RelationArea,
              "node": RelationNode,
              "relation": RelationRelation,
              "way": RelationWay
          }
          cls = cls_map.get(attrs["type"])
          if cls is None:
              raise ValueError("Undefined type for member: '%s'" % attrs['type'])
  
          self.cur_relation_member = cls(**params)
          self._curr['members'].append(self.cur_relation_member)
docs: Handle opening member element
  
          :param attrs: Attributes of the element
          :type attrs: Dict