Skip to content

Commit 72d6698

Browse files
authored
Merge pull request #85 from IdentityPython/develop
Support for attributes that may appear in calls to the load method.
2 parents 5b36ff0 + c16e464 commit 72d6698

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ exclude_lines = [
2222

2323
[tool.poetry]
2424
name = "cryptojwt"
25-
version = "1.5.1"
25+
version = "1.5.2"
2626
description = "Python implementation of JWT, JWE, JWS and JWK"
2727
authors = ["Roland Hedberg <[email protected]>"]
2828
license = "Apache-2.0"

src/cryptojwt/key_jar.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,12 @@ def dumps(self, exclude_issuers: Optional[List[str]] = None):
688688
_dict = self.dump(exclude_issuers=exclude_issuers)
689689
return json.dumps(_dict)
690690

691-
def load(self, info):
691+
def load(
692+
self,
693+
info: dict,
694+
init_args: Optional[dict] = None,
695+
load_args: Optional[dict] = None,
696+
):
692697
"""
693698
694699
:param info: A dictionary with the information

0 commit comments

Comments
 (0)