Add support for argument_specs attribute to RoleMetadata class (#73120)
This commit is contained in:
parent
0eb1e22cd9
commit
c8666f07d7
3 changed files with 5 additions and 0 deletions
2
changelogs/fragments/73120-rolemetadata-argspecs.yml
Normal file
2
changelogs/fragments/73120-rolemetadata-argspecs.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- Add support for `argument_specs` data in role metadata.
|
|
@ -42,6 +42,7 @@ class RoleMetadata(Base, CollectionSearch):
|
|||
_allow_duplicates = FieldAttribute(isa='bool', default=False)
|
||||
_dependencies = FieldAttribute(isa='list', default=list)
|
||||
_galaxy_info = FieldAttribute(isa='GalaxyInfo')
|
||||
_argument_specs = FieldAttribute(isa='dict', default=dict)
|
||||
|
||||
def __init__(self, owner=None):
|
||||
self._owner = owner
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
dependencies:
|
||||
- name: a
|
||||
|
||||
argument_specs: {}
|
||||
|
|
Loading…
Add table
Reference in a new issue