mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 23:44:00 -07:00
parent
a1c38a3fda
commit
6dd38c2a10
3 changed files with 64 additions and 50 deletions
|
@ -105,7 +105,10 @@ class Base:
|
|||
if hasattr(self, method):
|
||||
return getattr(self, method)()
|
||||
|
||||
return self._attributes[prop_name]
|
||||
value = self._attributes[prop_name]
|
||||
if value is None and hasattr(self, '_get_parent_attribute'):
|
||||
value = self._get_parent_attribute(prop_name)
|
||||
return value
|
||||
|
||||
@staticmethod
|
||||
def _generic_s(prop_name, self, value):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue