How change name attribute on Service class


Is it possible to change the name attribute the nameko run command will look for?

I wish to instead of name, it would be something different, like service_name or any other variable name.

No, Nameko requires every service to have the attribute name and it’s not configurable.

What is your usecase for changing it?

I was thinking of doing something to use django model classes as a nameko service too, but most of my models uses name as a field.