def __init__(self): CosmosDBRepository.__init__( self, container_id=container_definition['id'], partition_key_attribute='tenant_id', mapper=ProjectCosmosDBModel, )
def __init__(self): CosmosDBRepository.__init__( self, container_id=container_definition['id'], partition_key_attribute='tenant_id', order_fields=['start_date DESC'], mapper=TimeEntryCosmosDBModel, )