# Custom Component in Python

**URL:** <https://community.plotly.com/t/custom-component-in-python/38956>\
**Category:** Dash Python\
**Created:** [May 5, 2020, 7:53pm UTC](https://community.plotly.com/t/custom-component-in-python/38956 "2020-05-05T19:53:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marks](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@marks](https://community.plotly.com/u/marks)\
**Post date:** [May 5, 2020, 7:53pm UTC](https://community.plotly.com/t/custom-component-in-python/38956/1 "2020-05-05T19:53:47Z")

</div>

Hey All - quick question for the group in hopes of an answer to what I originally thought was going to be a simple exercise.

I am attempting to create a light-weight wrapper around some existing components and preferably using the Component parent type from dash.development.base\_component but the rendering is failing at the \_namespace property. Specifically the client side complains that it can’t find the namespace so I assuming that there is some sort of registration that needs to occur.

Any help here would be greatly appreciated.

self.\_namespace = ‘what\_should\_this\_be?’
