src/dirbs/partition_utils.py
def imei_shard_name(*, base_name, virt_imei_range_start, virt_imei_range_end):
    """
    Function to DRY out generation of IMEI shard partition names.

    Arguments:
        base_name: base name table
        virt_imei_range_start: start of the virt imei shard
        virt_imei_range_end: end of the virt imei shard
    Returns:
        name of the imei shard
    """
    return '{0}_{1}_{2}'.format(base_name, virt_imei_range_start, virt_imei_range_end - 1)

    Function to DRY out generation of IMEI shard partition names.

    Arguments:
        base_name: base name table
        virt_imei_range_start: start of the virt imei shard
        virt_imei_range_end: end of the virt imei shard
    Returns:
        name of the imei shard
    
Function to DRY out generation of IMEI shard partition names.
Function to DRY out generation of IMEI shard partition names .
def imei_shard_name(*, base_name, virt_imei_range_start, virt_imei_range_end):
    return '{0}_{1}_{2}'.format(base_name, virt_imei_range_start, virt_imei_range_end - 1)
def imei_shard_name ( * , base_name , virt_imei_range_start , virt_imei_range_end ) : return '{0}_{1}_{2}' . format ( base_name , virt_imei_range_start , virt_imei_range_end - 1 )
Function to DRY out generation of IMEI shard partition names.
Function to DRY out generation of IMEI shard partition names .
"""
    Function to DRY out generation of IMEI shard partition names.

    Arguments:
        base_name: base name table
        virt_imei_range_start: start of the virt imei shard
        virt_imei_range_end: end of the virt imei shard
    Returns:
        name of the imei shard
    """
name of the imei shard
name of the imei shard
base_name
base name table
base name table
virt_imei_range_start
start of the virt imei shard
start of the virt imei shard
virt_imei_range_end
end of the virt imei shard
end of the virt imei shard