by_url
Get backend class by URL.
def by_url(
backend: string,
loader: callable
) - > tuple
Get backend class by URL.
Parameters
| Name | Type | Description |
|---|---|---|
| backend | string | The connection URL or backend scheme name used to identify the desired backend class. |
| loader | callable | An optional custom loader function used to resolve the backend name to a class. |
Returns
| Type | Description |
|---|---|
tuple | A tuple containing the resolved backend class and the original or modified connection URL string. |