Skip to content

Commit

Permalink
Fix missing imports of preconf converters (#309)
Browse files Browse the repository at this point in the history
* Fix missing import of JsonConverter

* Fix missing import of BsonConverter

* Fix missing import of MsgpackConverter

* Fix missing import of OrjsonConverter

* Fix missing import of PyyamlConverter

* Fix missing import of TomlkitConverter

* Fix missing import of UjsonConverter
  • Loading branch information
kkg-else42 authored Sep 29, 2022
1 parent e425d63 commit e792659
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions src/cattr/preconf/bson.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Preconfigured converters for bson."""
from cattrs.preconf.bson import configure_converter, make_converter
from cattrs.preconf.bson import BsonConverter, configure_converter, make_converter

__all__ = ["make_converter", "configure_converter"]
__all__ = ["BsonConverter", "configure_converter", "make_converter"]
4 changes: 2 additions & 2 deletions src/cattr/preconf/json.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Preconfigured converters for the stdlib json."""
from cattrs.preconf.json import configure_converter, make_converter
from cattrs.preconf.json import configure_converter, JsonConverter, make_converter

__all__ = ["make_converter", "configure_converter"]
__all__ = ["configure_converter", "JsonConverter", "make_converter"]
4 changes: 2 additions & 2 deletions src/cattr/preconf/msgpack.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Preconfigured converters for msgpack."""
from cattrs.preconf.msgpack import configure_converter, make_converter
from cattrs.preconf.msgpack import configure_converter, make_converter, MsgpackConverter

__all__ = ["make_converter", "configure_converter"]
__all__ = ["configure_converter", "make_converter", "MsgpackConverter"]
4 changes: 2 additions & 2 deletions src/cattr/preconf/orjson.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Preconfigured converters for orjson."""
from cattrs.preconf.orjson import configure_converter, make_converter
from cattrs.preconf.orjson import configure_converter, make_converter, OrjsonConverter

__all__ = ["make_converter", "configure_converter"]
__all__ = ["configure_converter", "make_converter", "OrjsonConverter"]
4 changes: 2 additions & 2 deletions src/cattr/preconf/pyyaml.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Preconfigured converters for pyyaml."""
from cattrs.preconf.pyyaml import configure_converter, make_converter
from cattrs.preconf.pyyaml import configure_converter, make_converter, PyyamlConverter

__all__ = ["make_converter", "configure_converter"]
__all__ = ["configure_converter", "make_converter", "PyyamlConverter"]
4 changes: 2 additions & 2 deletions src/cattr/preconf/tomlkit.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Preconfigured converters for tomlkit."""
from cattrs.preconf.tomlkit import configure_converter, make_converter
from cattrs.preconf.tomlkit import configure_converter, make_converter, TomlkitConverter

__all__ = ["make_converter", "configure_converter"]
__all__ = ["configure_converter", "make_converter", "TomlkitConverter"]
4 changes: 2 additions & 2 deletions src/cattr/preconf/ujson.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Preconfigured converters for ujson."""
from cattrs.preconf.ujson import configure_converter, make_converter
from cattrs.preconf.ujson import configure_converter, make_converter, UjsonConverter

__all__ = ["make_converter", "configure_converter"]
__all__ = ["configure_converter", "make_converter", UjsonConverter]

0 comments on commit e792659

Please sign in to comment.