mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-09-07 13:41:03 -07:00
Fix various sanity errors in plugins (#881)
* Fix deprecation of callables. * Fix various sanity errors. * Revert callback_type -> type transform. * Fix stat_result times: these are float according to https://github.com/python/typeshed/blob/master/stdlib/3/os/__init__.pyi * Apply suggestions from code review Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru> Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
This commit is contained in:
parent
38996b7544
commit
7cf472855c
28 changed files with 88 additions and 27 deletions
|
@ -18,7 +18,7 @@ DOCUMENTATION = '''
|
|||
description:
|
||||
- The list of keys to lookup on the Puppetmaster
|
||||
type: list
|
||||
element_type: string
|
||||
elements: string
|
||||
required: True
|
||||
_bin_file:
|
||||
description:
|
||||
|
@ -55,7 +55,8 @@ RETURN = """
|
|||
_raw:
|
||||
description:
|
||||
- a value associated with input key
|
||||
type: strings
|
||||
type: list
|
||||
elements: str
|
||||
"""
|
||||
|
||||
import os
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue