Skip to content

Commit

Permalink
Switch to Mapping from typing instead of collections.abc
Browse files Browse the repository at this point in the history
  • Loading branch information
joakimnordling committed Sep 19, 2023
1 parent a28c187 commit ada4094
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pyjwt_key_fetcher/key.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import collections.abc
from typing import Any, Dict, Iterator
from typing import Any, Dict, Iterator, Mapping

from jwt import PyJWK


class Key(collections.abc.Mapping[str, Any]):
class Key(Mapping[str, Any]):
"""
Wrapper for the JWT key and algorithm.
"""
Expand Down

0 comments on commit ada4094

Please sign in to comment.