<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/55441>55441</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Example code request for mlir dialect types python bindings
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          puzzleshark
      </td>
    </tr>
</table>

<pre>
    There is a very useful example of creating a standalone out-of-tree mlir dialect that includes python bindings (`llvm-project/mlir/examples/standalone`). However I am wondering how that could be extended to include a dialect type, and corresponding python bindings? It's not clear to me how to do this?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxlkd1u3CAQhZ8G34zW8mLjnwsu2qRRc98XwGa8psXg8pPt5uk7drZNlUpIgGbmnI_D6PVNflswIJgICl4w3CBHnLMF_KXWzSL4GaaAKhl3oY6YlNPKekeFnE5-PqWACKs1AbRRFqcEaVEJjJts1hhhu6XFOxiN0yQRgfGetZW1L-tpC_47DTD-tM_TdveMdHw3om7GhxK--isSIDyDWuHqncawMy3--uY4-Ww1jEjkCamqIfk_GET-l-62IeMPQPI0EgLGzR9oH0lZ_QTPBNdFcJ7kLaqwS6745ulBe3I2e2OhZa2HelBFMsmi_HIPb_LkHfBnxphg9uFDUITyX0BFDlYuKW2k-4mCoHUxacljOfmVLnty9-2fAE2M-chNiKY5F4sUtVYzTn3Pm_bcd92gRFfxYZhaPvKu7gurRrRRMvGZce7wCocEnZl4LIzkFeeVONfnTrRNXaq2bvmMatR9pxvRsKbCVRlb7hylD5ciyANpzJRcU1kTU3wvqhjNxSEedqSvMr05yC2_vtJ3Lyr8KA57eeD_BpKW4tg">