Docs: remove reference to Key

Open
#180 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
documentation

Research direction

Open docs/terminology.rst and find the "Assisted Builder" section containing the DB = Key('DB') example. Check the current library API and documentation for the replacement pattern, then update that reference and verify the terminology page no longer directs readers to the removed Key usage.

Written by the indexing model from the issue text.

Description

Hiya,

I understand that Key has been removed from the library.

This took me a bit of headscratching to figure out! I was following https://github.com/alecthomas/injector/blob/master/docs/terminology.rst

Github won't let me easily link the line number, but it's under "Assisted Builder" and the line looks like this: >>> DB = Key('DB')

Could we get the docs updated with the new way of doing things?

I'm new to this library, so if you'd like me to PR it, then I'll need guidance on the correct content.

Dominant language
Python
Stars
1.5k
Forks
94
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from python-injector/injector

All issues in python-injector/injector

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.