def attach(self, resource_name, file_path):
"""Upload a file as a resource for this application.
def attach(self, resource_name, file_path):
"""Upload a file as a resource for this application.
async def destroy_relation(self, local_relation, remote_relation):
"""Remove a relation to another application.
async def destroy_relation(self, local_relation, remote_relation):
"""Remove a relation to another application.
if ':' not in local_relation:
local_relation = '{}:{}'.format(self.name, local_relation)
if ':' not in local_relation:
local_relation = '{}:{}'.format(self.name, local_relation)
def get_resources(self, details=False):
"""Return resources for this application.
def get_resources(self, details=False):
"""Return resources for this application.
async def run(self, command, timeout=None):
"""Run command on all units for this application.
async def run(self, command, timeout=None):
"""Run command on all units for this application.
def set_plan(self, plan_name):
"""Set the plan for this application, effective immediately.
def set_plan(self, plan_name):
"""Set the plan for this application, effective immediately.
def upgrade_charm(
self, channel=None, force_series=False, force_units=False,
def upgrade_charm(
self, channel=None, force_series=False, force_units=False,