Add support for argument_specs attribute to RoleMetadata class (#73120)

This commit is contained in:
David Shrewsbury 2021-01-07 11:41:46 -05:00 committed by GitHub
parent 0eb1e22cd9
commit c8666f07d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- Add support for `argument_specs` data in role metadata.

View file

@ -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

View file

@ -1,2 +1,4 @@
dependencies:
- name: a
argument_specs: {}