Exemple #1
0
 def __init__(self, service_name):
     BaseSectionConfigurationData.__init__(self, service_name)
     self._classname = None
     self._method = None
     self._host = None
     self._port = None
     self._url = None
Exemple #2
0
 def __init__(self):
     BaseSectionConfigurationData.__init__(self, "defaults")
     self._default_get = "unknown"
     self._default_property = "unknown"
     self._default_map = "unknown"
     if os.name == 'posix':
         self._learn_filename = '/tmp/learnf.aiml'
     elif os.name == 'nt':
         self._learn_filename = 'C:\\Windows\\Temp\\leanf.aiml'
Exemple #3
0
 def __init__(self,
              name,
              filename=None,
              file_format="txt",
              encoding="utf-8",
              delete_on_start=False):
     BaseSectionConfigurationData.__init__(self, name)
     self._file = filename
     self._file_format = file_format
     self._encoding = encoding
     self._delete_on_start = delete_on_start
Exemple #4
0
 def __init__(self,
              name="files",
              files=None,
              file=None,
              extension=None,
              directories=False):
     BaseSectionConfigurationData.__init__(self, name)
     if files is None:
         self._files = []
     else:
         self._files = files
     self._file = file
     self._extension = extension
     self._directories = directories
Exemple #5
0
    def __init__(self):
        BaseSectionConfigurationData.__init__(self, "files")
        self._aiml_files = BrainAIMLFileConfiguration()
        self._set_files = BrainFileConfiguration("sets")
        self._map_files = BrainFileConfiguration("maps")
        self._rdf_files = BrainFileConfiguration("rdf")

        self._denormal = None
        self._normal = None
        self._gender = None
        self._person = None
        self._person2 = None
        self._properties = None
        self._triples = None
        self._preprocessors = None
        self._postprocessors = None
        self._regex_templates = None
Exemple #6
0
 def __init__(self):
     BaseSectionConfigurationData.__init__(self, "binaries")
     self._save_binary = False
     self._load_binary = False
     self._binary_filename = None
     self._load_aiml_on_binary_fail = False
Exemple #7
0
 def __init__(self, oob_name):
     BaseSectionConfigurationData.__init__(self, oob_name)
     self._classname = None
Exemple #8
0
 def __init__(self):
     BaseSectionConfigurationData.__init__(self, "overrides")
     self._allow_system_aiml = False
     self._allow_learn_aiml = False
     self._allow_learnf_aiml = False
Exemple #9
0
 def __init__(self):
     BaseSectionConfigurationData.__init__(self, "security")
     self._authorisation = None
     self._authentication = None
Exemple #10
0
 def __init__(self):
     BaseSectionConfigurationData.__init__(self, "nodes")
     self._pattern_nodes = None
     self._template_nodes = None
Exemple #11
0
 def __init__(self):
     BaseSectionConfigurationData.__init__(self, "services")
     self._services = {}
Exemple #12
0
 def __init__(self, service_name):
     BaseSectionConfigurationData.__init__(self, service_name)
     self._classname = None
     self._denied_srai = None
     self._denied_text = None
     self._usergroups = None
Exemple #13
0
 def __init__(self):
     BaseSectionConfigurationData.__init__(self, "braintree")
     self._file = None
     self._content = None
Exemple #14
0
 def __init__(self):
     BaseSectionConfigurationData.__init__(self, "language")
     self._english = True
     self._chinese = False
Exemple #15
0
 def __init__(self):
     BaseSectionConfigurationData.__init__(self, "oob")
     self._default = None
     self._oobs = {}