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 service descriptor has api_service_name, the resolver uses its value as the short name. Otherwise, it uses the second 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. |