class documentation
Resolver that matches a single explicit service id.
The resolver returns address only when the provided service_id is exactly equal to the id supplied at construction.
| Parameters | |
| id | Exact service identifier to match. |
| address | Address to return when the id matches. |
| Method | __init__ |
Undocumented |
| Method | resolve |
Resolve only when service_id exactly matches the configured id. |
| Instance Variable | _address |
Undocumented |
| Instance Variable | _id |
Undocumented |
overrides
nebius.base.resolver.Resolver.resolveResolve only when service_id exactly matches the configured id.
| Parameters | |
servicestr | Service identifier to resolve. |
| Returns | |
str | The configured address when the id matches. |
| Raises | |
UnknownServiceError | when the id does not match. |