What is Nostr?
Mehrad :kde: :emacs: :rstats: /
npub1e8h…7zjt
2024-06-17 14:49:55

Mehrad :kde: :emacs: :rstats: on Nostr: Jim Crist-Harif I'm trying to use the msgspec python package to validate a TOML file. ...

Jim Crist-Harif (npub17zf…jcqg) I'm trying to use the msgspec python package to validate a TOML file. I was wondering if it is possible to have a schema that can support/validate undefined number of nested "tables". For example something to validate the following that can be

```toml
[servers]

[servers.1st]
ip = "10.0.0.1"
role = "frontend"

[servers.2nd]
ip = "10.0.0.2"
role = "backend"

.
.
.

[servers.Nth]
ip = "10.0.0.255"
role = "foo"
```
Author Public Key
npub1e8hd6qrda9yv3s39u4eka59x43pc0v3ej0ug4c52fz3ka4c6wn8scd7zjt