diff options
author | Jordan Cook <jordan.cook@pioneer.com> | 2021-08-07 15:59:27 -0500 |
---|---|---|
committer | Jordan Cook <jordan.cook@pioneer.com> | 2021-08-07 16:51:45 -0500 |
commit | 0d3aef553c101fa61508ad1fe1a8a83f8b13489d (patch) | |
tree | fca1bce9bafbe2beb66fc94e2a78e641638353aa /requests_cache/serializers | |
parent | 39559bc3c24224c53ad48edad457545e311be301 (diff) | |
download | requests-cache-0d3aef553c101fa61508ad1fe1a8a83f8b13489d.tar.gz |
More doc formatting and class/module links
Diffstat (limited to 'requests_cache/serializers')
-rw-r--r-- | requests_cache/serializers/preconf.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/requests_cache/serializers/preconf.py b/requests_cache/serializers/preconf.py index 275ec53..995d3c3 100644 --- a/requests_cache/serializers/preconf.py +++ b/requests_cache/serializers/preconf.py @@ -21,14 +21,14 @@ from .. import get_placeholder_class from .cattrs import CattrStage from .pipeline import SerializerPipeline, Stage -base_stage = CattrStage() -bson_preconf_stage = CattrStage(bson_preconf.make_converter) -json_preconf_stage = CattrStage(json_preconf.make_converter) -msgpack_preconf_stage = CattrStage(msgpack.make_converter) -orjson_preconf_stage = CattrStage(orjson.make_converter) -yaml_preconf_stage = CattrStage(pyyaml.make_converter) -toml_preconf_stage = CattrStage(tomlkit.make_converter) -ujson_preconf_stage = CattrStage(ujson.make_converter) +base_stage = CattrStage() #: Base stage for all serializer pipelines +bson_preconf_stage = CattrStage(bson_preconf.make_converter) #: Pre-configured stage for BSON +json_preconf_stage = CattrStage(json_preconf.make_converter) #: Pre-configured stage for JSON +msgpack_preconf_stage = CattrStage(msgpack.make_converter) #: Pre-configured stage for msgpack +orjson_preconf_stage = CattrStage(orjson.make_converter) #: Pre-configured stage for orjson +yaml_preconf_stage = CattrStage(pyyaml.make_converter) #: Pre-configured stage for YAML +toml_preconf_stage = CattrStage(tomlkit.make_converter) #: Pre-configured stage for TOML +ujson_preconf_stage = CattrStage(ujson.make_converter) #: Pre-configured stage for ujson # Pickle serializer that uses the cattrs base converter |