parameters: (self, url)
docstring: Returns the appropriate connnection adapter for the given URL.
docstring_summary: Returns the appropriate connnection adapter for the given URL.
docstring_tokens: Returns the appropriate connnection adapter for the given URL .
function: def get_adapter(self, url):
          """Returns the appropriate connnection adapter for the given URL."""
          for (prefix, adapter) in self.adapters.items():
  
              if url.lower().startswith(prefix):
                  return adapter
  
          # Nothing matches :-/
          raise InvalidSchema("No connection adapters were found for '%s'" % url)
function_tokens: def get_adapter ( self , url ) : for ( prefix , adapter ) in self . adapters . items ( ) : if url . lower ( ) . startswith ( prefix ) : return adapter # Nothing matches :-/ raise InvalidSchema ( "No connection adapters were found for '%s'" % url )