Skip to content

Reports Component

Used to sync reports from a source instance to a destination instance of Swimlane

sync_report

def sync_report(self, report)

sync

This method is used to sync all reports from a source instance to a destination instance

def sync(self)

Report Model

Aggregates

__init__(self, fieldId, aggregateType) special

Method generated by attrs for class Aggregates.

Source code in aqueduct/models/report.py
def __init__(self, fieldId, aggregateType):
    self.fieldId = fieldId
    self.aggregateType = aggregateType

Filters

__init__(self, fieldId, filterType, drillin, value=None) special

Method generated by attrs for class Filters.

Source code in aqueduct/models/report.py
def __init__(self, fieldId, filterType, drillin, value=attr_dict['value'].default):
    self.fieldId = fieldId
    self.filterType = filterType
    self.drillin = drillin
    self.value = value

GroupBys

__init__(self, fieldId, groupByType) special

Method generated by attrs for class GroupBys.

Source code in aqueduct/models/report.py
def __init__(self, fieldId, groupByType):
    self.fieldId = fieldId
    self.groupByType = groupByType

Report

__attrs_init__(self, applicationIds, columns, sorts, filters, countByApplicationFacet, pageSize, offset, defaultSearchReport, permissions, modifiedDate, createdByUser, modifiedByUser, uid, version, id, name, disabled, chartOptions={}, groupBys=[], aggregates=[], allowed=[], statsDrillin=None, createdDate=None, keywords=None) special

Method generated by attrs for class Report.

Source code in aqueduct/models/report.py
def __attrs_init__(self, applicationIds, columns, sorts, filters, countByApplicationFacet, pageSize, offset, defaultSearchReport, permissions, modifiedDate, createdByUser, modifiedByUser, uid, version, id, name, disabled, chartOptions=attr_dict['chartOptions'].default, groupBys=attr_dict['groupBys'].default, aggregates=attr_dict['aggregates'].default, allowed=attr_dict['allowed'].default, statsDrillin=attr_dict['statsDrillin'].default, createdDate=attr_dict['createdDate'].default, keywords=attr_dict['keywords'].default):
    self.applicationIds = applicationIds
    self.columns = columns
    self.sorts = sorts
    self.filters = filters
    self.countByApplicationFacet = countByApplicationFacet
    self.pageSize = pageSize
    self.offset = offset
    self.defaultSearchReport = defaultSearchReport
    self.permissions = permissions
    self.modifiedDate = modifiedDate
    self.createdByUser = createdByUser
    self.modifiedByUser = modifiedByUser
    self.uid = uid
    self.version = version
    self.id = id
    self.name = name
    self.disabled = disabled
    self.chartOptions = chartOptions
    self.groupBys = groupBys
    self.aggregates = aggregates
    self.allowed = allowed
    self.statsDrillin = statsDrillin
    self.createdDate = createdDate
    self.keywords = keywords
    self.__attrs_post_init__()