
Using the utility function gets a better name. For example: $ python >>> from oslo_utils import reflection >>> class A(object): ... def m(self): ... pass ... >>> z = A() >>> reflection.get_callable_name(z.m) '__main__.A.m' Versus: >>> z.m.__name__ 'm' Change-Id: I2eb9f49f6d7578d5d4e3a40cbd695e6622f3f850
oslo.service
Library for running OpenStack services
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/oslo.service
- Source: http://git.openstack.org/cgit/openstack/oslo.service
- Bugs: http://bugs.launchpad.net/oslo.service
Description
Languages
Python
100%