# How to import a custom expectation using V3 API

**URL:** https://discourse.greatexpectations.io/t/how-to-import-a-custom-expectation-using-v3-api/706
**Category:** Archive
**Tags:** how-to
**Created:** [April 1, 2021, 5:25pm UTC](https://discourse.greatexpectations.io/t/how-to-import-a-custom-expectation-using-v3-api/706 "2021-04-01T17:25:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bhcastleton](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.greatexpectations.io/bhcastleton/32/73_2.png) [@bhcastleton](https://discourse.greatexpectations.io/u/bhcastleton)
#### Post date: [April 1, 2021, 5:25pm UTC](https://discourse.greatexpectations.io/t/how-to-import-a-custom-expectation-using-v3-api/706/1 "2021-04-01T17:25:08Z")

</div>

Using the V3 API, custom expectations are their own class. In order to use them, you’ll need to import the custom expectation. For example, if you store your custom expectation `Expect_Boo` in a file `boo.py` in the plugins directory, then you would import it as follows: `from boo import Expect_Boo`.
