Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/r/a/RallyRestToolkitForPython-HEAD/pyral/restapi.py   RallyRestToolkitForPython(Download)
 
# intra-package imports
from .config  import PROTOCOL, SERVER, WS_API_VERSION, WEB_SERVICE, SCHEMA_SERVICE, AUTH_ENDPOINT
from .config  import RALLY_REST_HEADERS
from .config  import USER_NAME, PASSWORD 
        self.version  = WS_API_VERSION  # we only support v2.0 now
        self._inflated   = False
        self.service_url = "%s://%s/%s" % (PROTOCOL, self.server, WEB_SERVICE    % self.version)
        self.schema_url  = "%s://%s/%s" % (PROTOCOL, self.server, SCHEMA_SERVICE % self.version)
        self.hydration   = "full"

src/b/i/bitbucket-cli-0.4.1/bitbucket/cli.py   bitbucket-cli(Download)
from .repositories import get_user_repos
from .repositories import set_privilege
from .config import USERNAME, PASSWORD, SCM, PROTOCOL
from requests.exceptions import HTTPError
from requests.status_codes import _codes as status_codes
                            help='which scm to use (git|hg)')
        if 'protocol' in args_to_add:
            parser.add_argument('--protocol', '-P', default=PROTOCOL,
                            help=('which network protocol '
                                  'to use (https|ssh)'))