![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.ml/pictrs/image/q98XK4sKtw.png)
1·
10 months ago+1, no problems at all so far, been using them almost daily for a year now on both linux and android.
+1, no problems at all so far, been using them almost daily for a year now on both linux and android.
Well how do you want to use said get function?
let x = config.get("key").await;
So what type should x have?
You can see it in the image you linked.
What do you mean exactly? A running system shouldn’t spontaneously break from not being updated. It’s just that partial upgrades can break compatibility/dependencies, but running full system upgrades should be fine, as long as you pay attention to breaking changes and major version bumps. Also with timeshift it should always be possible to get back to a working state.
Can you still hibernate and suspend?
If you wrote the type signature of
get_user
astuple[User, None] | tuple[None, Exception]
, the assertion would not be necessary and the type checker wouldn’t complain.