Q:

dict .get none replace

offers_from_extruct = data_from_extruct.get('offer') or {}
price_from_extruct = offers_from_extruct.get('amount')
0

New to Communities?

Join the community