'Get the value of an option, falling back to the local configuration.
If no value is present for the key, the default Option value is returned.
>>> from sentry import options
>>> options.get(\'option\')'

def get(self, key, silent=False):

    opt = self.lookup_key(key)
    if (opt.flags & FLAG_PRIORITIZE_DISK):
        try:
            result = settings.SENTRY_OPTIONS[key]
        except KeyError:
            pass
        else:
            if result:
                return result
    if (not (opt.flags & FLAG_NOSTORE)):
        result = self.store.get(opt, silent=silent)
        if (result is not None):
            if (key == 'system.url-prefix'):
                settings.SENTRY_URL_PREFIX = result
            return result
    if (opt.flags & FLAG_STOREONLY):
        return opt.default()
    try:
        return settings.SENTRY_OPTIONS[key]
    except KeyError:
        try:
            return settings.SENTRY_DEFAULT_OPTIONS[key]
        except KeyError:
            return opt.default()
