-
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix missing imports of preconf converters (#309)
* 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
1 parent
e425d63
commit e792659
Showing
7 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] |