community.general/lib/ansible/utils
Matt Martz 9773a1f289
Add a Singleton metaclass, use it with Display (#48935)
* Add a Singleton class, use it with Display

* update six import

* Move remaining failes to display singleton

* Fix rebase issues

* Singleton improvements

* Add code-smell for 'from __main__ import display'. ci_complete

* s/self/cls/g

* Add docs for no-main-display

* Address linting issues

* Add changelog fragment. ci_complete

* Implement reentrant lock for class instantiation in Singleton

* Add Display singleton porting guide
2018-11-20 17:06:51 -06:00
..
module_docs_fragments Add common files for ONTAP and SOLIDFIRE unit tests (#48739) 2018-11-19 14:43:32 +00:00
__init__.py
_build_helpers.py Docs: Make docsite rebuilds smarter/faster (#45062) 2018-09-12 13:50:36 -07:00
cmd_functions.py
color.py
display.py Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
encrypt.py Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
hashing.py Enable additional pylint rules and resolve issues found. (#47221) 2018-10-18 13:38:08 -07:00
helpers.py
jsonrpc.py Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
listify.py Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
path.py
plugin_docs.py Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
py3compat.py Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
shlex.py
singleton.py Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
ssh_functions.py
unicode.py Remove deprecated code (#34828) 2018-01-23 12:02:09 -06:00
unsafe_proxy.py Handle sets differently than lists in wrap_var. Fixes #47372 (#47510) 2018-10-23 11:18:21 -05:00
vars.py Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00