003 File Manager
Current Path:
/usr/local/lib/python3.8/site-packages/salt/serializers
usr
/
local
/
lib
/
python3.8
/
site-packages
/
salt
/
serializers
/
📁
..
📄
__init__.py
(723 B)
📁
__pycache__
📄
configparser.py
(2.42 KB)
📄
json.py
(1.65 KB)
📄
msgpack.py
(3.34 KB)
📄
plist.py
(2.07 KB)
📄
python.py
(973 B)
📄
toml.py
(1.43 KB)
📄
yaml.py
(4.89 KB)
📄
yamlex.py
(12.63 KB)
Editing: __init__.py
""" salt.serializers ~~~~~~~~~~~~~~~~~~~~~~ This module implements all the serializers needed by salt. Each serializer offers the same functions and attributes: :deserialize: function for deserializing string or stream :serialize: function for serializing a Python object :available: flag that tells if the serializer is available (all dependencies are met etc.) """ from salt.exceptions import SaltException, SaltRenderError class DeserializationError(SaltRenderError, RuntimeError): """Raised when stream of string failed to be deserialized""" class SerializationError(SaltException, RuntimeError): """Raised when stream of string failed to be serialized"""
Upload File
Create Folder