angelos.lib.helper

Module docstring.

class angelos.lib.helper.Globber

Bases: object

static full(archive: angelos.archive7.archive.Archive7, *args, **kwargs)
static owner(archive: angelos.archive7.archive.Archive7, *args, **kwargs)
static path(archive: angelos.archive7.archive.Archive7, path: unicode = '*')
static syncro(archive: angelos.archive7.archive.Archive7, path: pathlib.PurePosixPath = PurePosixPath('/'), owner: Optional[uuid.UUID] = None, modified: Optional[datetime.datetime] = None, cmp_uuid: bool = False)
class angelos.lib.helper.Glue

Bases: object

static doc_check(datalist, _type, expiry_check=True)
static doc_save(document)

Calculates the correct meta information about a document to be updated

Parameters

document (Document) – Enter a valid Document.

Returns (datetime.datetime, datetime.datetime, uuid.UUID):

Correct meta-data (created datetime, touched datetime, owner).

static doc_validate(datalist, _type)
static doc_validate_report(datalist, _type, validate=True)
static run_async(*aws, raise_exc=True) → List[Any]