ai_core_sdk.helpers
index
/home/jenkins/agent/workspace/AI-Foundation_ai-core-sdk_master/ai_core_sdk/helpers/__init__.py

 
Package Contents
       
constants

 
Functions
       
form_top_skip_params(top: int = None, skip: int = None) -> Dict[str, int]
Frame query param
 
:param top: Number of objects to be retrieved, defaults to None
:type top: int, optional
:param skip: Number of objects to be skipped, from the list of the queried objects,
    defaults to None
:type skip: int, optional
get_home() -> str
is_within_aicore() -> bool
[summary]
Function to check whether the sdk is used within or out of aicore cluster
Returns:
    bool: True if the ai-core-sdk is used within aicore cluster
          False if the ai-core-sdk is used outside aicore cluster

 
Data
        DEFAULT_HOME_PATH = '/home/node/.aicore'
Dict = typing.Dict
HOME_PATH_ENV_VAR = 'AICORE_HOME'