lastpassreportingcli.library package¶
Submodules¶
lastpassreportingcli.library.datamodels module¶
Main code for datamodels.
- class lastpassreportingcli.library.datamodels.FolderMetrics(folder: lastpasslib.datamodels.Folder, cutoff_date: datetime.datetime, warning_whitelist: list = <factory>)[source]¶
Bases:
object- cutoff_date: datetime¶
- folder: Folder¶
- property full_path¶
- property has_warnings¶
- property is_completed¶
- property is_in_progress¶
- property is_in_root¶
- property is_personal¶
- property name¶
- property number_of_secrets¶
- property number_of_secrets_to_update¶
- property number_of_updated_secrets¶
- property number_of_warnings¶
- property path¶
- property percentage_done¶
- property percentage_left¶
- property to_json¶
- warning_whitelist: list¶
- property warnings¶
- class lastpassreportingcli.library.datamodels.PresentationFolder(folder: lastpassreportingcli.library.datamodels.FolderMetrics)[source]¶
Bases:
object- folder: FolderMetrics¶
- property is_personal¶
- property name¶
- property percentage_color¶
- property presentation_row¶
- property warning_color¶
lastpassreportingcli.library.validators module¶
Main code for datamodels.
- lastpassreportingcli.library.validators.comma_delimited_list_variable(value)[source]¶
Support for environment variables with comma delimited lists of values.
- lastpassreportingcli.library.validators.default_environment_variable(variable_name)[source]¶
Closure to pass the variable name to the inline custom Action.
- Parameters:
variable_name – The variable to look up as environment variable.
- Returns:
The Action object.
- lastpassreportingcli.library.validators.environment_variable_boolean(value)[source]¶
Parses an environment variable as a boolean.
- Parameters:
value – The value of the environment variable.
- Returns:
True if environment variable is one of the supported values, False otherwise.
Module contents¶
lastpassreportingcli package.
Import all parts from lastpassreportingcli here