class documentation
Convenience resolver that selects Single or Prefix.
If the provided id ends with a literal * the instance delegates to a
Prefix resolver (with the trailing star removed). Otherwise it
delegates to a Single resolver. This helper is useful when
parsing simple configuration entries that allow either a single service id
or a prefix pattern.
| Parameters | |
| id | Service id or prefix (use trailing * for prefix). |
| address | Address or template to return for matching ids. |
| Method | __init__ |
Undocumented |
| Method | resolve |
Delegate resolution to the selected child resolver. |
| Instance Variable | _parent |
Undocumented |
overrides
nebius.base.resolver.Resolver.resolveDelegate resolution to the selected child resolver.
| Parameters | |
servicestr | Service identifier to resolve. |
| Returns | |
str | Resolved address string. |
| Raises | |
UnknownServiceError | If the delegated resolver does not match. |