# Gr::block::add\_item\_tag not exposed to Python

**URL:** <https://www.ruby-forum.com/t/gr-add-item-tag-not-exposed-to-python/233298>\
**Category:** GNU Radio\
**Created:** [December 2, 2014, 3:02pm UTC](https://www.ruby-forum.com/t/gr-add-item-tag-not-exposed-to-python/233298 "2014-12-02T15:02:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [December 2, 2014, 3:02pm UTC](https://www.ruby-forum.com/t/gr-add-item-tag-not-exposed-to-python/233298/1 "2014-12-02T15:02:28Z")

</div>

Hello,

there is a reason why the gr::block::add\_item\_tag() method and other  
methods to operate on stream tags are not available from Python?

Should I send a patch to add them to the SWIG class definition?

Thanks. Cheers,  
Daniele

---

<div class="post-metadata">

**Author:** ![Daniele\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/74df32/32.png) [@Daniele\_N](https://www.ruby-forum.com/u/Daniele_N)\
**Post date:** [December 2, 2014, 3:11pm UTC](https://www.ruby-forum.com/t/gr-add-item-tag-not-exposed-to-python/233298/2 "2014-12-02T15:11:41Z")

</div>

On 12/02/2014 03:01 PM, Daniele N. wrote:

> Hello,
> 
> there is a reason why the gr::block::add\_item\_tag() method and other  
> methods to operate on stream tags are not available from Python?
> 
> Should I send a patch to add them to the SWIG class definition?

They are, see e.g. gr-blocks/python/blocks/qa\_block\_gateway.py.

Cheers,  
M

---

<div class="post-metadata">

**Author:** ![Daniele\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/74df32/32.png) [@Daniele\_N](https://www.ruby-forum.com/u/Daniele_N)\
**Post date:** [December 2, 2014, 3:20pm UTC](https://www.ruby-forum.com/t/gr-add-item-tag-not-exposed-to-python/233298/3 "2014-12-02T15:20:54Z")

</div>

On 02/12/14 15:10, Martin B. wrote:

> On 12/02/2014 03:01 PM, Daniele N. wrote:
> 
> > Hello,
> > 
> > there is a reason why the gr::block::add\_item\_tag() method and other  
> > methods to operate on stream tags are not available from Python?
> > 
> > Should I send a patch to add them to the SWIG class definition?
> 
> They are, see e.g. gr-blocks/python/blocks/qa\_block\_gateway.py.

Thanks Martin,

SWIG contortions make them hard to find… 🙂

Cheers,  
Daniele
