Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
list() -> new empty list
list(iterable) -> new list initialized from iterable's items

src/d/j/django-dash-0.4.4/src/dash/contrib/plugins/url/forms.py   django-dash(Download)
from dash.base import DashboardPluginFormBase
from dash.widgets import BooleanRadioSelect
from dash.contrib.plugins.url.settings import IMAGE_CHOICES_WITH_EMPTY_OPTION
from dash.contrib.plugins.url.models import Bookmark
 
    url = forms.URLField(label=_("URL"), required=True)
    external = forms.BooleanField(label=_("External?"), required=False, initial=False, widget=BooleanRadioSelect)
    image = forms.ChoiceField(label=_("Image"), required=False, choices=IMAGE_CHOICES_WITH_EMPTY_OPTION)
 
    def __init__(self, *args, **kwargs):

src/d/j/django-dash-HEAD/src/dash/contrib/plugins/url/forms.py   django-dash(Download)
from dash.base import DashboardPluginFormBase
from dash.widgets import BooleanRadioSelect
from dash.contrib.plugins.url.settings import IMAGE_CHOICES_WITH_EMPTY_OPTION
from dash.contrib.plugins.url.models import Bookmark
 
    url = forms.URLField(label=_("URL"), required=True)
    external = forms.BooleanField(label=_("External?"), required=False, initial=False, widget=BooleanRadioSelect)
    image = forms.ChoiceField(label=_("Image"), required=False, choices=IMAGE_CHOICES_WITH_EMPTY_OPTION)
 
    def __init__(self, *args, **kwargs):