mirror of
https://github.com/ansible/awx.git
synced 2026-03-01 00:38:45 -03:30
clarify a logging handler docstring
This commit is contained in:
@@ -118,9 +118,13 @@ class BaseHTTPSHandler(logging.Handler):
|
|||||||
|
|
||||||
def emit(self, record):
|
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.
|
``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:
|
See:
|
||||||
https://docs.python.org/3/library/concurrent.futures.html#future-objects
|
https://docs.python.org/3/library/concurrent.futures.html#future-objects
|
||||||
http://pythonhosted.org/futures/
|
http://pythonhosted.org/futures/
|
||||||
|
|||||||
Reference in New Issue
Block a user