updates
This commit is contained in:
15
Backend/venv/lib/python3.12/site-packages/toml/ordered.py
Normal file
15
Backend/venv/lib/python3.12/site-packages/toml/ordered.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from collections import OrderedDict
|
||||
from toml import TomlEncoder
|
||||
from toml import TomlDecoder
|
||||
|
||||
|
||||
class TomlOrderedDecoder(TomlDecoder):
|
||||
|
||||
def __init__(self):
|
||||
super(self.__class__, self).__init__(_dict=OrderedDict)
|
||||
|
||||
|
||||
class TomlOrderedEncoder(TomlEncoder):
|
||||
|
||||
def __init__(self):
|
||||
super(self.__class__, self).__init__(_dict=OrderedDict)
|
||||
Reference in New Issue
Block a user