symphony.bdk.core.service.user.user_util.NumberUtil#

class symphony.bdk.core.service.user.user_util.NumberUtil(sizes: [])#

Bases: object

Used to compute the segments bases in the input sizes

__init__(sizes: [])#

Methods

__init__(sizes)

extract(value, index)

Extract the tenant_id given the user_id and the index

extract(value: int, index: int)#

Extract the tenant_id given the user_id and the index