cloud_scanner.helpers package

Submodules

cloud_scanner.helpers.entry_storage module

class cloud_scanner.helpers.entry_storage.EntryOperations

Bases: object

static prepare_entry_for_insert(resource)

Optimize resource for table entry insertion.

Parameters:resource – Resource to be inserted in Storage
Returns:Prepared resource

cloud_scanner.helpers.functions module

cloud_scanner.helpers.functions.batch_list(items, batch_size)

Create batches from list of elements.

Parameters:
  • items – List of all elements
  • batch_size – Desired size of batches
Returns:

Batches of list

Module contents