def __init__(self, credentials=None, http=None, api_base_url=None):
        super(Connection, self).__init__(credentials=credentials, http=http)
        if api_base_url is None:
            try:
                # gcd.sh has /datastore/ in the path still since it supports
                # v1beta2 and v1beta3 simultaneously.
                api_base_url = (os.environ[GCD_HOST],) % '%s/datastore'
            except KeyError:
                api_base_url = self.__class__.API_BASE_URL
        self.api_base_url = api_base_url
dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/datastore/connection.py/Connection.__init__/swapped operands of `%`