mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 00:08:44 -03:30
clarify a logging handler docstring
This commit is contained in:
@@ -118,9 +118,13 @@ class BaseHTTPSHandler(logging.Handler):
|
||||
|
||||
def emit(self, record):
|
||||
"""
|
||||
Emit a log record. When ``self.async`` is True, returns a list of
|
||||
Emit a log record. Returns a list of zero or more
|
||||
``concurrent.futures.Future`` objects.
|
||||
|
||||
When ``self.async`` is True, the list will contain one
|
||||
Future object for each HTTP request made. When ``self.async`` is
|
||||
False, the list will be empty.
|
||||
|
||||
See:
|
||||
https://docs.python.org/3/library/concurrent.futures.html#future-objects
|
||||
http://pythonhosted.org/futures/
|
||||
|
||||
Reference in New Issue
Block a user