FastAPI-இன் dependency injection அமைப்பு, FastAPI அழைத்து உங்கள் path operations-இல் Depends() மூலம் inject செய்யும் மீண்டும் பயன்படுத்தக்கூடிய dependencies-ஐ (functions/classes) அறிவிக்க உங்களை அனுமதிக்கிறது. database sessions, authentication, மற்றும் common parameters போன்ற பகிரப்பட்ட logic-க்கு இது பயன்படுத்தப்படுகிறது — code-ஐ DRY மற்றும் testable-ஆக வைத்திருக்கிறது.
ஒரு அடிப்படை dependency
fastapi Depends
():
{: skip, : limit}
():
params
