def __init__(self, *, config: APIConfig = None):
        super().__init__(config=config)

        ssl = None
        if self._config.skip_sslcert_validation:
            ssl = False
        connector = aiohttp.TCPConnector(ssl=ssl)
        self.aiohttp_session = aiohttp.ClientSession(connector=connector)

        from .base import BaseFunction
        from .admin import Admin
        from .agent import Agent
        from .image import Image
        from .kernel import Kernel
        from .keypair import KeyPair
        from .manager import Manager
        from .resource import Resource
        from .resource_policy import ResourcePolicy
        from .vfolder import VFolder
        self.Admin = type('Admin', (BaseFunction, ), {
            **Admin.__dict__,
            'session': self,
        })
        '''
        The :class:`~ai.backend.client.admin.Admin` function proxy
        bound to this session.
        '''
        self.Agent = type('Agent', (BaseFunction, ), {
            **Agent.__dict__,
            'session': self,
        })
        '''
        The :class:`~ai.backend.client.agent.Agent` function proxy
        bound to this session.
        '''
        self.Image = type('Image', (BaseFunction, ), {
            **Image.__dict__,
            'session': self,
        })
        '''
        The :class:`~ai.backend.client.image.Image` function proxy
        bound to this session.
        '''
        self.Kernel = type('Kernel', (BaseFunction, ), {
            **Kernel.__dict__,
            'session': self,
        })
        '''
        The :class:`~ai.backend.client.kernel.Kernel` function proxy
        bound to this session.
        '''
        self.KeyPair = type('KeyPair', (BaseFunction, ), {
            **KeyPair.__dict__,
            'session': self,
        })
        '''
        The :class:`~ai.backend.client.keypair.KeyPair` function proxy
        bound to this session.
        '''
        self.Manager = type('Manager', (BaseFunction, ), {
            **Manager.__dict__,
            'session': self,
        })
        '''
        The :class:`~ai.backend.client.manager.Manager` function proxy
        bound to this session.
        '''
        self.Resource= type('Resource', (BaseFunction, ), {
            **Resource.__dict__,
            'session': self,
        })
        '''
        The :class:`~ai.backend.client.resource.Resource` function proxy
        bound to this session.
        '''
        self.ResourcePolicy = type('ResourcePolicy', (BaseFunction, ), {
            **ResourcePolicy.__dict__,
            'session': self,
        })
        '''
        The :class:`~ai.backend.client.resource_policy.ResourcePolicy` function proxy
        bound to this session.
        '''
        self.VFolder = type('VFolder', (BaseFunction, ), {
            **VFolder.__dict__,
            'session': self,
        })
        '''
        The :class:`~ai.backend.client.vfolder.VFolder` function proxy
        bound to this session.
        '''
def __init__ ( self , * , config : APIConfig = None ) : super ( ) . __init__ ( config = config ) ssl = None if self . _config . skip_sslcert_validation : ssl = False connector = aiohttp . TCPConnector ( ssl = ssl ) self . aiohttp_session = aiohttp . ClientSession ( connector = connector ) from . base import BaseFunction from . admin import Admin from . agent import Agent from . image import Image from . kernel import Kernel from . keypair import KeyPair from . manager import Manager from . resource import Resource from . resource_policy import ResourcePolicy from . vfolder import VFolder self . Admin = type ( 'Admin' , ( BaseFunction , ) , { ** Admin . __dict__ , 'session' : self , } ) self . Agent = type ( 'Agent' , ( BaseFunction , ) , { ** Agent . __dict__ , 'session' : self , } ) self . Image = type ( 'Image' , ( BaseFunction , ) , { ** Image . __dict__ , 'session' : self , } ) self . Kernel = type ( 'Kernel' , ( BaseFunction , ) , { ** Kernel . __dict__ , 'session' : self , } ) self . KeyPair = type ( 'KeyPair' , ( BaseFunction , ) , { ** KeyPair . __dict__ , 'session' : self , } ) self . Manager = type ( 'Manager' , ( BaseFunction , ) , { ** Manager . __dict__ , 'session' : self , } ) self . Resource = type ( 'Resource' , ( BaseFunction , ) , { ** Resource . __dict__ , 'session' : self , } ) self . ResourcePolicy = type ( 'ResourcePolicy' , ( BaseFunction , ) , { ** ResourcePolicy . __dict__ , 'session' : self , } ) self . VFolder = type ( 'VFolder' , ( BaseFunction , ) , { ** VFolder . __dict__ , 'session' : self , } )
The :class:`~ai.backend.client.admin.Admin` function proxy
        bound to this session.