class documentation
Resolver that matches service ids by prefix.
The resolver returns the configured address when service_id begins
with the supplied prefix. If it does not match it raises
UnknownServiceError.
| Parameters | |
| prefix | Leading string that matching service ids must start with. |
| address | Address to return for matching ids. |
| Method | __init__ |
Undocumented |
| Method | resolve |
Resolve when service_id starts with the configured prefix. |
| Instance Variable | _address |
Undocumented |
| Instance Variable | _prefix |
Undocumented |
overrides
nebius.base.resolver.Resolver.resolveResolve when service_id starts with the configured prefix.
| Parameters | |
servicestr | Service identifier to resolve. |
| Returns | |
str | The configured address when the prefix matches. |
| Raises | |
UnknownServiceError | when the prefix does not match. |