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

Public Member Functions

def convert (self, value, param, ctx)
 
- Public Member Functions inherited from Path
def __init__ (self, exists=False, file_okay=True, dir_okay=True, writable=False, readable=True, resolve_path=False, allow_dash=False, path_type=None)
 
def coerce_path_result (self, rv)
 
- Public Member Functions inherited from ParamType
def __call__ (self, value, param=None, ctx=None)
 
def get_metavar (self, param)
 
def get_missing_message (self, param)
 
def split_envvar_value (self, rv)
 
def fail (self, message, param=None, ctx=None)
 

Static Public Attributes

 type = click.Path(exists=True, dir_okay=False, resolve_path=True),
 
 help = "Enable or disable the reloader. By default the reloader "
 
 callback = _validate_key,
 
bool expose_value = False,
 
string help = "The key file to use when specifying a certificate.",
 
 default = None,
 
bool default = True,
 
tuple help
 
- Static Public Attributes inherited from Path
 envvar_list_splitter = os.path.pathsep
 
- Static Public Attributes inherited from ParamType
bool is_composite = False
 
 name = None
 
 envvar_list_splitter = None
 

Additional Inherited Members

- Data Fields inherited from Path
 exists
 
 file_okay
 
 dir_okay
 
 writable
 
 readable
 
 resolve_path
 
 allow_dash
 
 type
 
 name
 
 path_type
 

Detailed Description

Click option type that accepts a list of values separated by the
OS's path separator (``:``, ``;`` on Windows). Each value is
validated as a :class:`click.Path` type.

Member Function Documentation

◆ convert()

def convert (   self,
  value,
  param,
  ctx 
)
Converts the value.  This is not invoked for values that are
`None` (the missing value).

Reimplemented from Path.

Field Documentation

◆ callback

callback = _validate_key,
static

◆ default [1/2]

default = None,
static

◆ default [2/2]

bool default = True,
static

◆ expose_value

bool expose_value = False,
static

◆ help [1/3]

string help = "Enable or disable the reloader. By default the reloader "
static

◆ help [2/3]

string help = "The key file to use when specifying a certificate.",
static

◆ help [3/3]

tuple help
static
Initial value:
= (
"Extra files that trigger a reload on change. Multiple paths"
" are separated by '{}'.".format(os.path.pathsep)
),

◆ type

type = click.Path(exists=True, dir_okay=False, resolve_path=True),
static

The documentation for this class was generated from the following file:
jsonschema._validators.format
def format(validator, format, instance, schema)
Definition: _validators.py:205