# Proxy from XML is inavailable from Python

**URL:** https://discourse.paraview.org/t/proxy-from-xml-is-inavailable-from-python/15259
**Category:** Development
**Created:** [August 20, 2024, 8:59am UTC](https://discourse.paraview.org/t/proxy-from-xml-is-inavailable-from-python/15259 "2024-08-20T08:59:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![joint](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@joint](https://discourse.paraview.org/u/joint)
#### Post date: [August 20, 2024, 8:59am UTC](https://discourse.paraview.org/t/proxy-from-xml-is-inavailable-from-python/15259/1 "2024-08-20T08:59:21Z")

</div>

Hello, dear Paraview developers

I have the following XML file

```auto
		<!-- Python fpr test -->
		<IntVectorProperty
		   name="Settest"
		   command="Settest"
		   number_of_elements="1"
		   default_values="0"
		   label="Settest"
		   panel_visibility="never">
			<Documentation>
				Python function for test obtaining.
			</Documentation>
		</IntVectorProperty>

		<!-- ParaView Mathieu, obtain value from the server -->
		<DoubleVectorProperty
			label="Gettest"
			name="Gettest"
			number_of_elements="1"
			default_values="0"
			command="Gettest"
			panel_visibility="never"
			information_only="1">

		</DoubleVectorProperty>

```

However when I do dir(filter) in Python only Settesest is presented, and Gettest is missing, why so?

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [August 20, 2024, 9:50am UTC](https://discourse.paraview.org/t/proxy-from-xml-is-inavailable-from-python/15259/2 "2024-08-20T09:50:15Z")

</div>

I think it is because of the `information_only` attribute: this is a readonly property so we do not add it as an attribute of the python object

---

<div class="post-metadata">

### Author: ![joint](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@joint](https://discourse.paraview.org/u/joint)
#### Post date: [August 21, 2024, 7:50am UTC](https://discourse.paraview.org/t/proxy-from-xml-is-inavailable-from-python/15259/3 "2024-08-21T07:50:33Z")

</div>

How could I use in in this case?

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [August 21, 2024, 8:35am UTC](https://discourse.paraview.org/t/proxy-from-xml-is-inavailable-from-python/15259/4 "2024-08-21T08:35:05Z")

</div>

Actually you should be able to get it through `proxy.GetProperty("read_only_prop")`, or `proxy.GetPropertyValue("read_only_prop")`
