Skip to content

Commit

Permalink
Fix docstring error.
Browse files Browse the repository at this point in the history
  • Loading branch information
dajiaji committed Apr 29, 2021
1 parent 14e7042 commit 8b10ecc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cwt/cose.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def decode(self, data: Union[bytes, CBORTag], key: COSEKey) -> Dict[int, Any]:
Args:
data (Union[bytes, CBORTag]): A byte string or cbor2.CBORTag of an
encoded data.
encoded data.
key (COSEKey): A COSE key to verify and decrypt the encoded data.
Returns:
Dict[int, Any]: A decoded CBOR-like object.
Expand Down
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
("py:class", "_cbor2.CBORTag"),
("py:class", "cwt.exceptions.CWTError"),
("py:class", "cwt.recipient.Recipient"),
("py:class", "CBORTag"),
]

# Add any paths that contain templates here, relative to this directory.
Expand Down

0 comments on commit 8b10ecc

Please sign in to comment.