Return the backend as an URI. This properly handles the case of multiple servers.
(self, *args, **kwargs)
| 155 | return super().__reduce__(args, kwargs) |
| 156 | |
| 157 | def as_uri(self, *args, **kwargs): |
| 158 | """Return the backend as an URI. |
| 159 | |
| 160 | This properly handles the case of multiple servers. |
| 161 | """ |
| 162 | servers = ';'.join(self.servers) |
| 163 | return f'{self.backend}://{servers}/' |