Did I find the right examples for you? yes no

All Samples(6)  |  Call(0)  |  Derive(0)  |  Import(6)

src/d/j/django-dash-0.4.4/src/dash/base.py   django-dash(Download)
from dash.discover import autodiscover
from dash.exceptions import LayoutDoesNotExist
from dash.settings import (
    ACTIVE_LAYOUT, LAYOUT_CELL_UNITS, DEBUG, DEFAULT_PLACEHOLDER_VIEW_TEMPLATE_NAME,
    DEFAULT_PLACEHOLDER_EDIT_TEMPLATE_NAME
                        self.process_plugin_data(fetch_related_data=fetch_related_data)
                except Exception as e:
                    if DEBUG:
                        logger.debug(str(e))
 
            return self
        except Exception as e:
            if DEBUG:
                logger.debug(str(e))
 
                form_data.update({field: self.plugin_data.get(field, default_value)})
            except Exception as e:
                if DEBUG:
                    logger.debug(e)
        return form_data
                    return plugin_form(data=data, files=files)
            except Exception as e:
                if DEBUG:
                    logger.debug(e)
                raise Http404(e)

src/d/j/django-dash-HEAD/src/dash/base.py   django-dash(Download)
from dash.discover import autodiscover
from dash.exceptions import LayoutDoesNotExist
from dash.settings import (
    ACTIVE_LAYOUT, LAYOUT_CELL_UNITS, DEBUG, DEFAULT_PLACEHOLDER_VIEW_TEMPLATE_NAME,
    DEFAULT_PLACEHOLDER_EDIT_TEMPLATE_NAME
                        self.process_plugin_data(fetch_related_data=fetch_related_data)
                except Exception as e:
                    if DEBUG:
                        logger.debug(str(e))
 
            return self
        except Exception as e:
            if DEBUG:
                logger.debug(str(e))
 
                form_data.update({field: self.plugin_data.get(field, default_value)})
            except Exception as e:
                if DEBUG:
                    logger.debug(e)
        return form_data
                    return plugin_form(data=data, files=files)
            except Exception as e:
                if DEBUG:
                    logger.debug(e)
                raise Http404(e)

src/d/j/django-dash-0.4.4/src/dash/utils.py   django-dash(Download)
from dash.helpers import slugify_workspace, lists_overlap, clone_plugin_data, update_plugin_data
from dash.exceptions import PluginWidgetOutOfPlaceholderBoundaries
from dash.settings import RESTRICT_PLUGIN_ACCESS, DEBUG
 
import logging
        return [p.plugin_uid for p in queryset]
    except Exception as e:
        if DEBUG:
            logger.debug(e)
        return []

src/d/j/django-dash-HEAD/src/dash/utils.py   django-dash(Download)
from dash.helpers import slugify_workspace, lists_overlap, clone_plugin_data, update_plugin_data
from dash.exceptions import PluginWidgetOutOfPlaceholderBoundaries
from dash.settings import RESTRICT_PLUGIN_ACCESS, DEBUG
 
import logging
        return [p.plugin_uid for p in queryset]
    except Exception as e:
        if DEBUG:
            logger.debug(e)
        return []

src/d/j/django-dash-0.4.4/src/dash/contrib/plugins/weather/dash_plugins.py   django-dash(Download)
from dash.contrib.plugins.weather.forms import WeatherForm
from dash.contrib.plugins.weather.settings import API_KEY, API_ENDPOINT_URL
from dash.settings import DEBUG
 
import logging
                    cache.set(key, self.data.weather_data_json, int(self.data.cache_for))
                except Exception as e:
                    if DEBUG:
                        logger.debug(e)
 

src/d/j/django-dash-HEAD/src/dash/contrib/plugins/weather/dash_plugins.py   django-dash(Download)
from dash.contrib.plugins.weather.forms import WeatherForm
from dash.contrib.plugins.weather.settings import API_KEY, API_ENDPOINT_URL
from dash.settings import DEBUG
 
import logging
                    cache.set(key, self.data.weather_data_json, int(self.data.cache_for))
                except Exception as e:
                    if DEBUG:
                        logger.debug(e)