Joshua Harlow 3aaa63986c Use oslo_utils reflection to get 'f' callable name
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: I2daadd969383aaf49ad87876ba108dd80dd56f08
2015-08-09 00:07:41 +00:00
2014-12-10 08:31:04 -05:00
2015-07-15 01:36:25 +00:00

oslo.concurrency

Latest Version

Downloads

The oslo.concurrency library has utilities for safely running multi-thread, multi-process applications using locking mechanisms and for running external processes.

Description
OpenStack library for all concurrency-related code
Readme 4.7 MiB
Languages
Python 100%