Exemple #1
0
 def __init__(self, env, options):
     Type.__init__(self, env, options)
     self.extra_params = {
         'doctitle_xform': False,
         'initial_header_level': '2',
         'syntax_highlight': 'short'}
     self.extra_params.update(options)
Exemple #2
0
 def __init__(self, env, options):
     Type.__init__(self, env, options)
     self.source = ChoiceSource(env, options)
Exemple #3
0
 def __init__(self, env, options):
     Type.__init__(self, env, options)
     self.flow_blocks = [
         x.strip() for x in options.get("flow_blocks", "").split(",") if x.strip()
     ] or None
Exemple #4
0
 def __init__(self, env, options):
     Type.__init__(self, env, options)
     self.source = ChoiceSource(env, options)
Exemple #5
0
 def __init__(self, env, options):
     Type.__init__(self, env, options)
     self.flow_blocks = [
         x.strip() for x in options.get('flow_blocks', '').split(',')
         if x.strip()] or None
Exemple #6
0
 def __init__(self, env, options):
     Type.__init__(self, env, options)
     self.flow_blocks = [
         x.strip()
         for x in options.get('flow_blocks', '').split(',') if x.strip()
     ] or None
Exemple #7
0
 def __init__(self, env, options):
     Type.__init__(self, env, options)
Exemple #8
0
 def __init__(self, env, options):
     Type.__init__(self, env, options)
     self.flow_blocks = [x.strip() for x in options.get("flow_blocks", "").split(",") if x.strip()] or None
 def __init__(self, env, options, client_id, client_secret, access_token=None):
     Type.__init__(self, env, options)
     self.client_id = client_id
     self.client_secret = client_secret
     self.access_token = access_token
Exemple #10
0
 def __init__(self, env, options):
     Type.__init__(self, env, options)