Add support for recursive emr settings
- Updates _RecursiveDictRef to not implement __getitem__, avoiding errors when using recursive settings for an emr job flow
This commit is contained in:
parent
7afc101eec
commit
c4b9088bfc
2 changed files with 19 additions and 1 deletions
|
|
@ -414,6 +414,9 @@ class _RecursiveDictRef(object):
|
|||
def __getattr__(self, key):
|
||||
return self.dic.__getattr__(key)
|
||||
|
||||
def __getitem__(self, key):
|
||||
return self.dic.__getitem__(key)
|
||||
|
||||
def set_reference(self, key, dic):
|
||||
"""Set the RecursiveDictRef object to keep reference to dict object
|
||||
(dic) at the key.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue