AK
Size: a a a
AK
QL
QL
V
QL
V
[O
AT
AT
A
A
A
A
S[
ele["platform"]["name"]
So, I'm tryingele.get('platform').get('name')
but the error:AttributeError: 'NoneType' object has no attribute 'get'
I'm so close. Any help?S[
if ele.get('platform'):
ele.get('platform').get('name')
QL
ele["platform"]["name"]
So, I'm tryingele.get('platform').get('name')
but the error:AttributeError: 'NoneType' object has no attribute 'get'
I'm so close. Any help?A
ele["platform"]["name"]
So, I'm tryingele.get('platform').get('name')
but the error:AttributeError: 'NoneType' object has no attribute 'get'
I'm so close. Any help?ele.get('platform', {}).get('name')
, but if platform
key exists in dict ele
, and it's value for example is None
, it will fail.S[
S[
ele.get('platform', {}).get('name')
, but if platform
key exists in dict ele
, and it's value for example is None
, it will fail.ele.get('platform', {'platform': {"name": None}}).get('name')
😅🙈А
ele.get('platform', {'platform': {"name": None}}).get('name')
😅🙈