“Dependency Injection” means, in programming, that there is a way for your code (in this case, your path operation functions) to declare things that it requires to work and use: “dependencies”. And then, that system(e.g. FastAPI or encord-agents) will take care of doing whatever is needed to provide your code with those needed dependencies (“inject” the dependencies)
Depends
class.
{module}
depends on which type of agent you’re building.
See the references section for more details on available dependencies.
dep_video_iterator
for an example of this.