juju/client/_client4.py
async def CheckCharmPlacement(self, placements=None):
        '''
        CheckCharmPlacement checks if a charm is allowed to be placed with in a
        given application.

        placements : typing.Sequence[~ApplicationCharmPlacement]
        Returns -> ErrorResults
        '''
        if placements is not None and not isinstance(placements, (bytes, str, list)):
            raise Exception("Expected placements to be a Sequence, received: {}".format(type(placements)))

        # map input types to rpc msg
        _params = dict()
        msg = dict(type='Charms',
                   request='CheckCharmPlacement',
                   version=4,
                   params=_params)
        _params['placements'] = placements
        reply = await self.rpc(msg)
        return reply

        CheckCharmPlacement checks if a charm is allowed to be placed with in a
        given application.

        placements : typing.Sequence[~ApplicationCharmPlacement]
        Returns -> ErrorResults
        
CheckCharmPlacement checks if a charm is allowed to be placed with in a
given application.


CheckCharmPlacement checks if a charm is allowed to be placed with in a given application .
async def CheckCharmPlacement(self, placements=None):
        if placements is not None and not isinstance(placements, (bytes, str, list)):
            raise Exception("Expected placements to be a Sequence, received: {}".format(type(placements)))
        _params = dict()
        msg = dict(type='Charms',
                   request='CheckCharmPlacement',
                   version=4,
                   params=_params)
        _params['placements'] = placements
        reply = await self.rpc(msg)
        return reply
async def CheckCharmPlacement ( self , placements = None ) : if placements is not None and not isinstance ( placements , ( bytes , str , list ) ) : raise Exception ( "Expected placements to be a Sequence, received: {}" . format ( type ( placements ) ) ) _params = dict ( ) msg = dict ( type = 'Charms' , request = 'CheckCharmPlacement' , version = 4 , params = _params ) _params [ 'placements' ] = placements reply = await self . rpc ( msg ) return reply
CheckCharmPlacement checks if a charm is allowed to be placed with in a
given application.
CheckCharmPlacement checks if a charm is allowed to be placed with in a given application .
'''
        CheckCharmPlacement checks if a charm is allowed to be placed with in a
        given application.

        placements : typing.Sequence[~ApplicationCharmPlacement]
        Returns -> ErrorResults
        ''' # map input types to rpc msg
self
placements