juju/client/_client4.py
async def ListSubnets(self, space_tag=None, zone=None):
        '''
        ListSubnets returns the matching subnets after applying
        optional filters.

        space_tag : str
        zone : str
        Returns -> ListSubnetsResults
        '''
        if space_tag is not None and not isinstance(space_tag, (bytes, str)):
            raise Exception("Expected space_tag to be a str, received: {}".format(type(space_tag)))

        if zone is not None and not isinstance(zone, (bytes, str)):
            raise Exception("Expected zone to be a str, received: {}".format(type(zone)))

        # map input types to rpc msg
        _params = dict()
        msg = dict(type='Subnets',
                   request='ListSubnets',
                   version=4,
                   params=_params)
        _params['space-tag'] = space_tag
        _params['zone'] = zone
        reply = await self.rpc(msg)
        return reply

        ListSubnets returns the matching subnets after applying
        optional filters.

        space_tag : str
        zone : str
        Returns -> ListSubnetsResults
        
ListSubnets returns the matching subnets after applying
optional filters.

space_tag : str
zone : str
Returns -> ListSubnetsResults
ListSubnets returns the matching subnets after applying optional filters . space_tag : str zone : str Returns - > ListSubnetsResults
async def ListSubnets(self, space_tag=None, zone=None):
        if space_tag is not None and not isinstance(space_tag, (bytes, str)):
            raise Exception("Expected space_tag to be a str, received: {}".format(type(space_tag)))
        if zone is not None and not isinstance(zone, (bytes, str)):
            raise Exception("Expected zone to be a str, received: {}".format(type(zone)))
        _params = dict()
        msg = dict(type='Subnets',
                   request='ListSubnets',
                   version=4,
                   params=_params)
        _params['space-tag'] = space_tag
        _params['zone'] = zone
        reply = await self.rpc(msg)
        return reply
async def ListSubnets ( self , space_tag = None , zone = None ) : if space_tag is not None and not isinstance ( space_tag , ( bytes , str ) ) : raise Exception ( "Expected space_tag to be a str, received: {}" . format ( type ( space_tag ) ) ) if zone is not None and not isinstance ( zone , ( bytes , str ) ) : raise Exception ( "Expected zone to be a str, received: {}" . format ( type ( zone ) ) ) _params = dict ( ) msg = dict ( type = 'Subnets' , request = 'ListSubnets' , version = 4 , params = _params ) _params [ 'space-tag' ] = space_tag _params [ 'zone' ] = zone reply = await self . rpc ( msg ) return reply
ListSubnets returns the matching subnets after applying
optional filters.
ListSubnets returns the matching subnets after applying optional filters .
'''
        ListSubnets returns the matching subnets after applying
        optional filters.

        space_tag : str
        zone : str
        Returns -> ListSubnetsResults
        ''' # map input types to rpc msg
self
space_tag
zone