Skip to content

Add YAML 1.2 support #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions lib/yaml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,17 @@ def add_multi_representer(data_type, multi_representer, Dumper=Dumper):
"""
Dumper.add_multi_representer(data_type, multi_representer)

def experimental_12_Core_loader():
return loader._12_CoreLoader
def experimental_12_JSON_loader():
return loader._12_JSONLoader

def experimental_12_Core_dumper():
return dumper._12_CoreDumper
def experimental_12_JSON_dumper():
return dumper._12_JSONDumper
class YAMLObjectMetaclass(type):

"""
The metaclass for YAMLObject.
"""
Expand Down
Loading