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

pull/72097/merge
David Shrewsbury 4 years ago committed by GitHub
parent 0eb1e22cd9
commit c8666f07d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save