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/d/j/django-dash-0.4.4/src/dash/admin.py   django-dash(Download)
from dash.models import DashboardWorkspace, DashboardEntry, DashboardPlugin, DashboardSettings
from dash.forms import BulkChangeDashboardPluginsForm
from dash.constants import ACTION_CHOICE_REPLACE
 
staff_member_required_m = method_decorator(staff_member_required)
                for dashboard_plugin in queryset:
                    # If groups action chose is ``replace``, clearing the groups first.
                    if groups_action == ACTION_CHOICE_REPLACE:
                        dashboard_plugin.groups.clear()
 
                    # If users action chose is ``replace``, clearing the users first.
                    if users_action == ACTION_CHOICE_REPLACE:

src/d/j/django-dash-HEAD/src/dash/admin.py   django-dash(Download)
from dash.models import DashboardWorkspace, DashboardEntry, DashboardPlugin, DashboardSettings
from dash.forms import BulkChangeDashboardPluginsForm
from dash.constants import ACTION_CHOICE_REPLACE
 
staff_member_required_m = method_decorator(staff_member_required)
                for dashboard_plugin in queryset:
                    # If groups action chose is ``replace``, clearing the groups first.
                    if groups_action == ACTION_CHOICE_REPLACE:
                        dashboard_plugin.groups.clear()
 
                    # If users action chose is ``replace``, clearing the users first.
                    if users_action == ACTION_CHOICE_REPLACE: