code: def tags(self, val: str) -> None:
          
  
          if not StorageRecord.ok_tags(val):
              LOGGER.debug('StorageRecord.__init__ <!< Tags %s must map strings to strings', val)
              raise BadRecord('Tags {} must map strings to strings'.format(val))
  
          self._tags = val or {}
docs: Accessor for record tags (metadata).
  
          :param val: record tags