class documentation
Convention-based resolver for Nebius services.
This resolver recognizes service ids that follow the Nebius naming convention (for example nebius.foo.v1.FooService). It extracts the service short-name (foo in the example) and returns a templated address <service>.{domain}.
If the protobuf service descriptor defines the api_service_name extension the extension value will be used as the service short-name instead of the second dot-separated path element.
| Method | resolve |
Resolve a conventional Nebius service id to <service>.{domain}. |
overrides
nebius.base.resolver.Resolver.resolveResolve a conventional Nebius service id to <service>.{domain}.
| Parameters | |
servicestr | Service identifier to resolve. |
| Returns | |
str | The resolved address template. |
| Raises | |
UnknownServiceError | when the provided id does not follow the recognized convention. |