Update digest sample code in the docs
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 170
- Forks
- 79
- PR merge metrics
- No merged PRs in 30d
Description
In the docs:
digest = session.digest(data, mechanism=Mechanism.SHA_256)
This would lead to the error:
AttributeError(name) from None
It should be:
digest = session.digest(data, mechanism=Mechanism.SHA256)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the documentation for the sample using Mechanism.SHA_256 and compare it with the reported AttributeError. Update the sample to use Mechanism.SHA256, then verify the documented code matches the supported mechanism name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100