Include options_map in snapshot serialization
This commit is contained in:
1
main.py
1
main.py
@@ -53,6 +53,7 @@ async def status():
|
|||||||
"last_loaded_at": snapshot.last_loaded_at.isoformat() + "Z",
|
"last_loaded_at": snapshot.last_loaded_at.isoformat() + "Z",
|
||||||
"error_count": len(snapshot.errors),
|
"error_count": len(snapshot.errors),
|
||||||
"errors": [str(err) for err in snapshot.errors],
|
"errors": [str(err) for err in snapshot.errors],
|
||||||
|
"options": snapshot.options_map,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user