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

Public Member Functions

def to_python (self, value)
 
def to_url (self, value)
 
- Public Member Functions inherited from BaseConverter
def __init__ (self, map)
 

Static Public Attributes

 regex
 
- Static Public Attributes inherited from BaseConverter
 regex
 
 weight
 

Additional Inherited Members

- Data Fields inherited from BaseConverter
 map
 

Detailed Description

This converter only accepts UUID strings::

    Rule('/object/<uuid:identifier>')

.. versionadded:: 0.10

:param map: the :class:`Map`.

Member Function Documentation

◆ to_python()

def to_python (   self,
  value 
)

Reimplemented from BaseConverter.

◆ to_url()

def to_url (   self,
  value 
)

Reimplemented from BaseConverter.

Field Documentation

◆ regex

regex
static

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