Skip to content

Commit

Permalink
global_converter to GenConverter
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinche committed Apr 28, 2021
1 parent 58af79c commit 41c4945
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ History

1.7.0 (UNRELEASED)
------------------
* ``cattr.global_converter`` (which provides ``cattr.unstructure``, ``cattr.structure`` etc.) is now an instance of ``cattr.GenConverter``.

1.6.0 (2021-04-28)
------------------
Expand Down
5 changes: 1 addition & 4 deletions src/cattr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@
"override",
)

__author__ = "Tin Tvrtković"
__email__ = "[email protected]"


global_converter = Converter()
global_converter = GenConverter()

unstructure = global_converter.unstructure
structure = global_converter.structure
Expand Down

0 comments on commit 41c4945

Please sign in to comment.