dazza-codes / aio-aws

Asyncio utils for AWS Services
Apache License 2.0
3 stars 1 forks source link

Aio batch jobs db #42

Closed dazza-codes closed 3 years ago

dazza-codes commented 3 years ago

This refactor has breaking changes to AWS Batch functions, due to refactoring components into new modules and other refactoring of functions into instance methods. The introduction of an aioredis implementation for batch-db functions introduces asyncio equivalents of methods already implemented on tinydb. It's not obvious that an ABC could capture an API for both sync and async methods, but later work on that might try to define something that could allow either db implementation to be swapped out as required. Further work might require aioredis as a hard dependency and make that implementation the default.