Improve TODO

This commit is contained in:
Adrien Ferrand 2021-10-27 01:09:45 +02:00
parent 79b2ba5b4e
commit 73f8f1974e
2 changed files with 3 additions and 2 deletions

View file

@ -33,7 +33,7 @@ T = TypeVar('T', bound='_JSONObjectWithFields')
R = TypeVar('R', bound='Challenge')
# TODO: Remove this class once JSONObjectWithFields in josepy becomes generic.
# TODO: Remove this class once JSONObjectWithFields.from_json in josepy becomes generic.
class _JSONObjectWithFields(jose.JSONObjectWithFields):
"""Generic version of jose.JSONObjectWithFields"""

View file

@ -68,7 +68,8 @@ ERROR_TYPE_DESCRIPTIONS.update(dict( # add errors with old prefix, deprecate me
T = TypeVar('T', bound='_JSONObjectWithFields')
# TODO: Remove this class once JSONObjectWithFields and ImmutableMap in josepy becomes generic.
# TODO: Remove this class once JSONObjectWithFields.from_json and ImmutableMap.update
# in josepy become generic.
class _JSONObjectWithFields(jose.JSONObjectWithFields):
"""Generic version of jose.JSONObjectWithFields"""