Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(10)  |  Call(3)  |  Derive(0)  |  Import(7)

        def geo_settings(context=None):  # pylint: disable=W0613
    return getUtility(IRegistry).forInterface(IGeoSettings)
        


src/c/o/collective.geo.contentlocations-3.1/src/collective/geo/contentlocations/geomarker.py   collective.geo.contentlocations(Download)
from Products.CMFCore.utils import getToolByName
 
from collective.geo.settings.utils import geo_settings
from collective.geo.geographer.interfaces import IGeoreferenceable
from collective.geo.contentlocations.interfaces import IGeoMarker
    def _options(self):
        return geo_settings(self.context)
 
    @property
    def geo_content_types(self):

src/c/o/collective.geo.contentlocations-HEAD/src/collective/geo/contentlocations/geomarker.py   collective.geo.contentlocations(Download)
from Products.CMFCore.utils import getToolByName
 
from collective.geo.settings.utils import geo_settings
from collective.geo.geographer.interfaces import IGeoreferenceable
from collective.geo.contentlocations.interfaces import IGeoMarker
    def _options(self):
        return geo_settings(self.context)
 
    @property
    def geo_content_types(self):

src/c/o/collective.geo.contentlocations-3.1/src/collective/geo/contentlocations/browser/helperview.py   collective.geo.contentlocations(Download)
from Products.Five.browser import BrowserView
from collective.geo.geographer.interfaces import IGeoreferenceable
from collective.geo.settings.utils import geo_settings
from .. import utils
 

src/c/o/collective.geo.contentlocations-HEAD/src/collective/geo/contentlocations/browser/helperview.py   collective.geo.contentlocations(Download)
from Products.Five.browser import BrowserView
from collective.geo.geographer.interfaces import IGeoreferenceable
from collective.geo.settings.utils import geo_settings
from .. import utils
 

src/c/o/collective.geo.contentlocations-HEAD/src/collective/geo/contentlocations/tests/test_controlpanel.py   collective.geo.contentlocations(Download)
from ..testing import CGEO_CONTENTLOCATIONS_FUNCTIONAL
 
from collective.geo.settings.utils import geo_settings
 
 

src/c/o/collective.geo.mapcontent-0.1/collective/geo/mapcontent/tests/base.py   collective.geo.mapcontent(Download)
    def afterSetUp(self):
        from collective.geo.settings.utils import geo_settings
        geo_settings(self.portal).default_layers = [u'osm', u'google_ter', u'google_hyb', 
                                         u'google_sat', u'google_map'] 
        roles = ('Member', 'Contributor')

src/c/o/collective.geo.contentlocations-3.1/src/collective/geo/contentlocations/tests/test_controlpanel.py   collective.geo.contentlocations(Download)
from ..testing import CGEO_CONTENTLOCATIONS_FUNCTIONAL
 
from collective.geo.settings.utils import geo_settings