OpenQuizz
Une application de gestion des contenus pédagogiques
YAMLObject Class Reference
Inheritance diagram for YAMLObject:
Collaboration diagram for YAMLObject:

Public Member Functions

def from_yaml (cls, loader, node)
 
def to_yaml (cls, dumper, data)
 
- Public Member Functions inherited from YAMLObjectMetaclass
def __init__ (cls, name, bases, kwds)
 

Static Public Attributes

 yaml_loader
 
 yaml_dumper
 
 yaml_tag
 
 yaml_flow_style
 

Detailed Description

An object that can dump itself to a YAML stream
and load itself from a YAML stream.

Member Function Documentation

◆ from_yaml()

def from_yaml (   cls,
  loader,
  node 
)
Convert a representation node to a Python object.

◆ to_yaml()

def to_yaml (   cls,
  dumper,
  data 
)
Convert a Python object to a representation node.

Field Documentation

◆ yaml_dumper

yaml_dumper
static

◆ yaml_flow_style

yaml_flow_style
static

◆ yaml_loader

yaml_loader
static

◆ yaml_tag

yaml_tag
static

The documentation for this class was generated from the following file: