bhf_smarthealth.models#

Classes#

Environments

Configure names of RONIN environments

DataStreamNames

Configure pipeline data stream names

BucketNames

Configure pipeline bucket names

PartitionFreqs

Specify pipeline partitions

IntermediateTable

CleanTableNames

Enum where members are also (and must be) strings

CleanTable

Module Contents#

class bhf_smarthealth.models.Environments[source]#

Bases: enum.StrEnum

Configure names of RONIN environments

CORE#
ISOLATE_PROD#
ISOLATE_DEV#
class bhf_smarthealth.models.DataStreamNames[source]#

Bases: enum.StrEnum

Configure pipeline data stream names

GPS#
FITBIT#
HEALTHAPP#
QUALTRICS#
QUESTIONNAIRE#
CLEAN#
class bhf_smarthealth.models.BucketNames[source]#

Bases: enum.StrEnum

Configure pipeline bucket names

INGRESS#
REFERENCE#
RAW#
IDENTIFIERS#
INTERMEDIATE#
CLEAN#
LOGS#
class bhf_smarthealth.models.PartitionFreqs[source]#

Bases: enum.StrEnum

Specify pipeline partitions

DAILY#
class bhf_smarthealth.models.IntermediateTable[source]#
name: str#
source_stream: DataStreamNames#
class bhf_smarthealth.models.CleanTableNames[source]#

Bases: enum.StrEnum

Enum where members are also (and must be) strings

BRIDGE#
BASE#
FITBIT_SUMMARY#
FITBIT_INTRADAY#
LSOA#
MOBILITY#
ENVIRONMENTAL#
HEALTHAPP_METRICS#
HEALTHAPP_WORKOUTS#
class bhf_smarthealth.models.CleanTable[source]#
name: CleanTableNames#
bucket: BucketNames#
source_stream: DataStreamNames#
primary_keys: list = []#
partition_freq: PartitionFreqs | None = None#