jkimbo / graphql-sync-dataloaders

Use DataLoaders in your Python GraphQL servers that have to run in a sync context (i.e. Django).
MIT License
41 stars 21 forks source link

Add `clear_all` and `prime` methods to SyncDataLoader #11

Open rafalp opened 1 year ago

rafalp commented 1 year ago

Adds clear_all and prime cache methods, which I've found useful in my app and are implemented by aiodataloader, but are missing from SyncDataLoader.