# built-in method values of dict object a

**URL:** <https://forum.ansible.com/t/built-in-method-values-of-dict-object-a/36285>\
**Category:** Ansible Project\
**Created:** [February 3, 2022, 12:43pm UTC](https://forum.ansible.com/t/built-in-method-values-of-dict-object-a/36285 "2022-02-03T12:43:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kumarswamy\_veeranna](https://avatars.discourse-cdn.com/v4/letter/k/dec6dc/32.png) [@Kumarswamy\_veeranna](https://forum.ansible.com/u/Kumarswamy_veeranna)\
**Post date:** [February 3, 2022, 12:43pm UTC](https://forum.ansible.com/t/built-in-method-values-of-dict-object-a/36285/1 "2022-02-03T12:43:02Z")

</div>

Hi All,

I’m facing an issue with extract the value from the below ansible code

item.content.values()

[‘sp.\*.cpu.summary.utilization’, ‘2022-02-02T10:30:00.000Z’, 300, {‘spa’: 10.777033477143537}]

but fetching the SPA is not happening

Tried with “item.content.values().[3].spa”

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [February 3, 2022, 4:16pm UTC](https://forum.ansible.com/t/built-in-method-values-of-dict-object-a/36285/2 "2022-02-03T16:16:41Z")

</div>

extra dot

"item.content.values()[3].spa"

either use dot notation or bracket for each segment, cannot use both  
at same time
