diff --git a/README.md b/README.md index afb4681..9068e49 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ pip install pydantic-avro import json from typing import Optional -from pydantic_avro.from_avro.base import AvroBase +from pydantic_avro.base import AvroBase class TestModel(AvroBase): diff --git a/src/pydantic_avro/base.py b/src/pydantic_avro/base.py new file mode 100644 index 0000000..a8968f7 --- /dev/null +++ b/src/pydantic_avro/base.py @@ -0,0 +1,2 @@ +# For backwards compatability +from pydantic_avro.to_avro.base import AvroBase