ucsschool.importer package
Contents
ucsschool.importer package¶
Subpackages¶
- ucsschool.importer.contrib package
- ucsschool.importer.frontend package
- ucsschool.importer.mass_import package
- ucsschool.importer.models package
- ucsschool.importer.reader package
- ucsschool.importer.utils package
- Submodules
- ucsschool.importer.utils.config_pyhook module
- ucsschool.importer.utils.configuration_checks module
- ucsschool.importer.utils.format_pyhook module
- ucsschool.importer.utils.import_pyhook module
- ucsschool.importer.utils.ldap_connection module
- ucsschool.importer.utils.logging module
- ucsschool.importer.utils.post_read_pyhook module
- ucsschool.importer.utils.pre_read_pyhook module
- ucsschool.importer.utils.result_pyhook module
- ucsschool.importer.utils.test_user_creator module
- ucsschool.importer.utils.user_pyhook module
- ucsschool.importer.utils.username_handler module
- ucsschool.importer.utils.utils module
- ucsschool.importer.writer package
- Submodules
- ucsschool.importer.writer.base_writer module
- ucsschool.importer.writer.csv_writer module
- ucsschool.importer.writer.new_user_password_csv_exporter module
- ucsschool.importer.writer.result_exporter module
- ucsschool.importer.writer.test_user_csv_exporter module
- ucsschool.importer.writer.user_import_csv_result_exporter module
Submodules¶
ucsschool.importer.configuration module¶
ucsschool.importer.default_user_import_factory module¶
ucsschool.importer.exceptions module¶
All exceptions raised by code in ucsschool.importer.
- exception ucsschool.importer.exceptions.UcsSchoolImportError(*args, **kwargs)[source]¶
Bases:
Exception
- is_fatal = False¶
- is_countable = True¶
- exception ucsschool.importer.exceptions.UcsSchoolImportFatalError(*args, **kwargs)[source]¶
Bases:
ucsschool.importer.exceptions.UcsSchoolImportError
- is_fatal = True¶
- exception ucsschool.importer.exceptions.UcsSchoolImportSkipImportRecord(*args, **kwargs)[source]¶
Bases:
ucsschool.importer.exceptions.UcsSchoolImportError
- is_countable = False¶
- exception ucsschool.importer.exceptions.BadValueStored(*args, **kwargs)[source]¶
Bases:
ucsschool.importer.exceptions.UcsSchoolImportFatalError
- exception ucsschool.importer.exceptions.ConfigurationError(*args, **kwargs)[source]¶
Bases:
ucsschool.importer.exceptions.UcsSchoolImportFatalError
- exception ucsschool.importer.exceptions.EmptyFormatResultError(msg, scheme, data, *args, **kwargs)[source]¶
- exception ucsschool.importer.exceptions.EmptyMandatoryAttribute(msg, attr_name, *args, **kwargs)[source]¶
- exception ucsschool.importer.exceptions.InitialisationError(msg, log_traceback=True, *args, **kwargs)[source]¶
Bases:
ucsschool.importer.exceptions.UcsSchoolImportFatalError
- exception ucsschool.importer.exceptions.LDAPWriteAccessDenied(msg=None, *args, **kwargs)[source]¶
Bases:
ucsschool.importer.exceptions.UcsSchoolImportFatalError
- exception ucsschool.importer.exceptions.MissingMandatoryAttribute(msg, mandatory_attributes, *args, **kwargs)[source]¶
- exception ucsschool.importer.exceptions.NameKeyExists(*args, **kwargs)[source]¶
Bases:
ucsschool.importer.exceptions.UcsSchoolImportFatalError
- exception ucsschool.importer.exceptions.NoUsernameAtAll(*args, **kwargs)[source]¶
Bases:
ucsschool.importer.exceptions.UcsSchoolImportFatalError
- exception ucsschool.importer.exceptions.NoValueStored(*args, **kwargs)[source]¶
Bases:
ucsschool.importer.exceptions.UcsSchoolImportFatalError
- exception ucsschool.importer.exceptions.ReadOnlyConfiguration(*args, **kwargs)[source]¶
Bases:
ucsschool.importer.exceptions.UcsSchoolImportFatalError
- exception ucsschool.importer.exceptions.TooManyErrors(msg, errors, *args, **kwargs)[source]¶
Bases:
ucsschool.importer.exceptions.UcsSchoolImportFatalError
- exception ucsschool.importer.exceptions.UserValidationError(msg, validation_error, *args, **kwargs)[source]¶
Bases:
ucsschool.importer.exceptions.UcsSchoolImportError
Wraps ucsschool.lib.models.attributes.ValidationError
- exception ucsschool.importer.exceptions.WrongUserType(msg, *args, **kwargs)[source]¶
Bases:
ucsschool.importer.exceptions.UcsSchoolImportError
Wraps ucsschool.lib.models.base.WrongObjectType
ucsschool.importer.factory module¶
Singleton to the factory currently in use.