mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-04-20 14:28:54 +00:00
Config: Alter migration error handling and cleanup
Rollback to the old config if automigration fails. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"""Common utility functions"""
|
||||
|
||||
from types import NoneType
|
||||
from typing import Optional, Type, Union, get_args, get_origin
|
||||
from typing import Type, Union, get_args, get_origin
|
||||
|
||||
|
||||
def unwrap(wrapped, default=None):
|
||||
|
||||
Reference in New Issue
Block a user