persist user_options

remember user_options from the previous run

this allows user options set via spawn form to be re-used when restarting e.g. a named server via the api
This commit is contained in:
Min RK
2019-02-28 14:27:47 +01:00
parent 25aa892f86
commit ddc852d658
4 changed files with 87 additions and 1 deletions

View File

@@ -216,6 +216,7 @@ class Spawner(Base):
started = Column(DateTime)
last_activity = Column(DateTime, nullable=True)
user_options = Column(JSONDict)
# properties on the spawner wrapper
# some APIs get these low-level objects