code: def _check_uri(cls, uri):
          
          parsed = urlparse(uri)
          if parsed.scheme != cls.uri_scheme:
              raise ValueError("%s objects require the %r URI scheme" % (cls.__name__, cls.uri_scheme))
docs: Check whether a URI is compatible with a :class:`.Driver`
          subclass. When called from a subclass, execution simply passes
          through if the URI scheme is valid for that class. If invalid,
          a `ValueError` is raised.
  
          :param uri: URI to check for compatibility
          :raise: `ValueError` if URI scheme is incompatible