OpenQuizz
Une application de gestion des contenus pédagogiques
FormatControl Class Reference

Public Member Functions

def __init__ (self, no_binary=None, only_binary=None)
 
def __eq__ (self, other)
 
def __repr__ (self)
 
def get_allowed_formats (self, canonical_name)
 
def disallow_binaries (self)
 

Static Public Member Functions

def handle_mutual_excludes (value, target, other)
 

Data Fields

 no_binary
 
 only_binary
 

Detailed Description

Helper for managing formats from which a package can be installed.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  no_binary = None,
  only_binary = None 
)

Member Function Documentation

◆ __eq__()

def __eq__ (   self,
  other 
)

◆ __repr__()

def __repr__ (   self)

◆ disallow_binaries()

def disallow_binaries (   self)

◆ get_allowed_formats()

def get_allowed_formats (   self,
  canonical_name 
)

◆ handle_mutual_excludes()

def handle_mutual_excludes (   value,
  target,
  other 
)
static

Field Documentation

◆ no_binary

no_binary

◆ only_binary

only_binary

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