Fossology Enums¶
The Python enums derived from the REST data.
- class fossology.enums.AccessLevel(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Available access levels for uploads:
PRIVATE PROTECTED PUBLIC
- class fossology.enums.ClearingScope(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Scope of the clearing:
LOCAL PACKAGE GLOBAL
- class fossology.enums.ClearingStatus(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Clearing statuses:
OPEN INPROGRESS CLOSED REJECTED
- class fossology.enums.ClearingType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Type of the clearing:
TO_BE_DISCUSSED IRRELEVANT IDENTIFIED DO_NOT_USE NON_FUNCTIONAL
- class fossology.enums.CopyrightStatus(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Status of the copyrights:
ACTIVE INACTIVE
- class fossology.enums.JobStatus(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Job statuses:
COMPLETED FAILED QUEUED PROCESSING
- class fossology.enums.LicenseType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
License types:
CANDIDATE MAIN ALL
- class fossology.enums.MemberPerm(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Group member permissions:
USER ADMIN ADVISOR
- class fossology.enums.ObligationClass(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Classification of an obligation:
GREEN WHITE YELLOW RED
- class fossology.enums.Permission(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Upload or group permissions:
NONE READ_ONLY READ_WRITE CLEARING_ADMIN ADMIN
- class fossology.enums.PrevNextSelection(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Type of file to be selected for the prev-next endpoint:
WITHLICENSES NOCLEARING
- class fossology.enums.ReportFormat(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Available report format:
DEP5 SPDX2 SPDX2TV READMEOSS UNIFIEDREPORT
- class fossology.enums.SearchTypes(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Type of item that can be searched:
ALLFILES CONTAINERS DIRECTORY
- class fossology.enums.TokenScope(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
Scope for API tokens:
READ: Read only access, limited only to “GET” calls
WRITE: Read/Write access, required for calls other than “GET”