Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(4) | Call(2) | Derive(0) | Import(2)
src/a/w/awsjuju-0.0.2/awsjuju/services/elb.py awsjuju(Download)
# Monkey patch a fix onto boto from boto.ec2.elb.loadbalancer import LoadBalancerZones from common import KVFile, Unit, BaseController, RetryLater if not getattr(LoadBalancerZones, 'endElement', None):
def __init__(self, unit=None): self.unit = unit or Unit() self._elb = None self._ec2 = None self._config = None
src/a/w/awsjuju-0.0.2/awsjuju/services/rds.py awsjuju(Download)
import boto.exception from boto import rds from common import KVFile, Unit VOCAB = {
def __init__(self, unit=None, group_rules=None): state_path = os.path.join(os.environ.get("CHARM_DIR", ""), "rds.state") self._state = KVFile(state_path) self.unit = unit or Unit() self._group_rules = group_rules or ()