minermedic/minermedic.py
def __add_miner(ip_address, model_id):

    """
    Internal method to add a miner.
    :param ip_address: IP Address of the Miner
    :param model_id: Model ID of the Miner
    :return: Boolean
    """

    from phenome_core.core.helpers.model_helpers import add_object
    obj = add_object('CRYPTO_MINER', model_id, ip_address, None, None)
    return obj is not None

    Internal method to add a miner.
    :param ip_address: IP Address of the Miner
    :param model_id: Model ID of the Miner
    :return: Boolean
    
Internal method to add a miner.
Internal method to add a miner .
def __add_miner(ip_address, model_id):
    from phenome_core.core.helpers.model_helpers import add_object
    obj = add_object('CRYPTO_MINER', model_id, ip_address, None, None)
    return obj is not None
def __add_miner ( ip_address , model_id ) : from phenome_core . core . helpers . model_helpers import add_object obj = add_object ( 'CRYPTO_MINER' , model_id , ip_address , None , None ) return obj is not None
Internal method to add a miner.
Internal method to add a miner .
"""
    Internal method to add a miner.
    :param ip_address: IP Address of the Miner
    :param model_id: Model ID of the Miner
    :return: Boolean
    """
None
ip_address
IP Address of the Miner
IP Address of the Miner
model_id
Model ID of the Miner
Model ID of the Miner