New Feature: Async Client#129
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
…ssert statement to raise value error in the query function
|
Hi @CHRISCARLON , Just passing my thanks for contributing this and to acknowledge I've seen this. Kind Regards |
Hi @jmbraybrook, No worries! I added a couple of dependencies to the requirements.txt file as that seemed to be why the tests were failing in the action: https://github.com/OrdnanceSurvey/osdatahub/actions/runs/20646710797 Chris |
|
Hi @CHRISCARLON , can confirm we will be including this feature - will be merging onto its own branch so I can run the required tests and checks but should be good to proceed from there. Will CC you into a subsequent pull request once that's done. |
I often write a lot of custom async code to interact with the OS Datahub APIs.
A few projects are on my todo list in the future where I'll need async functionality (both personal and at work at GeoPlace).
Rather than write my own async library, I thought that I would start a rough async implementation of the osdatahub NGD module - as I have colleagues that use this too.
I do have some ideas for the other modules as well though - like downloading things from the DownloadsAPI in parallel.
Please let me know what you think!
I've not strayed too far from the current ngd_api in terms of the overall structure - let me know if you think I have.
I've added:
I'll mark this ready for review once I've added a few more unit tests and done some trial runs with it - as it's a first pass for now.
TODO:
Chris