[Discussion] Async Version of Backends Implementation
Débutant
help wantedfeature
162 ★
Poids du clone léger
Mise à jour
Description
If we were to add async support, which option is better 1 or 2?
1. Add a new class parameter `async=True`, switch between normal and async client based on it, and implement async functions prefixed with the letter `a` then function name. ex. `aget_many()` or `aset()`
2. Duplicate the entire class and add implementation for async functions without prefixing the function names. Instead, the class name will start with the word "`Async`". ex. `AsyncSimpleCache` etc..
I would like to know if anyone has better suggestions or modifications too
Issues similaires
Tout voir
Python
Débutant
VS Code extension should be robust to YAML parser errors
Seeing this error: ``` Failed to read calkit.yaml: YAMLParseError: A block sequence may not be used as an im…
Mise à jour
Python
Débutant
dash: a manual Refresh control
The dashboard polls: `refreshStats()` (`src/doberman/dash/app.py:408`) every 5 s and `refreshPending()` (`:54…
Mise à jour
Python
Débutant
dash: "Copy details" button on each pending-approval card
Each pending-approval card in the dashboard (`renderPending`, `src/doberman/dash/app.py:448-544`) shows the r…
Mise à jour