content
stringlengths
1
103k
path
stringlengths
8
216
filename
stringlengths
2
179
language
stringclasses
15 values
size_bytes
int64
2
189k
quality_score
float64
0.5
0.95
complexity
float64
0
1
documentation_ratio
float64
0
1
repository
stringclasses
5 values
stars
int64
0
1k
created_date
stringdate
2023-07-10 19:21:08
2025-07-09 19:11:45
license
stringclasses
4 values
is_test
bool
2 classes
file_hash
stringlengths
32
32
from typing import Any\n\nfrom django.utils.functional import LazyObject\n\n# explicit dependency on standard settings to make it loaded\nfrom . import global_settings\n\nENVIRONMENT_VARIABLE: str = ...\nDEFAULT_CONTENT_TYPE_DEPRECATED_MSG: str = ...\nFILE_CHARSET_DEPRECATED_MSG: str = ...\n\n# required for plugin to be able to distinguish this specific instance of LazySettings from others\nclass _DjangoConfLazyObject(LazyObject):\n def __getattr__(self, item: Any) -> Any: ...\n\nclass LazySettings(_DjangoConfLazyObject):\n configured: bool\n def configure(self, default_settings: Any = ..., **options: Any) -> Any: ...\n\nsettings: LazySettings = ...\n\nclass Settings:\n def __init__(self, settings_module: str): ...\n def is_overridden(self, setting: str) -> bool: ...\n\nclass UserSettingsHolder: ...\n\nclass SettingsReference(str):\n def __init__(self, value: str, setting_name: str) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\conf\__init__.pyi
__init__.pyi
Other
899
0.95
0.37931
0.1
node-utils
646
2024-01-01T15:39:48.108490
MIT
false
9bb53cae9856838c49662b683e1f42b2
from typing import Dict, Any\n\nLANG_INFO: Dict[str, Any] = ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\conf\locale\__init__.pyi
__init__.pyi
Other
62
0.65
0
0
python-kit
740
2024-10-08T14:11:05.220569
GPL-3.0
false
47d0c4195b9da638b36c254851d9b5cb
from typing import Any, List, Tuple, Callable\n\nfrom django.urls.resolvers import URLPattern\n\ndef i18n_patterns(*urls: Any, prefix_default_language: bool = ...) -> List[List[URLPattern]]: ...\ndef is_language_prefix_patterns_used(urlconf: str) -> Tuple[bool, bool]: ...\n\nurlpatterns: List[Callable]\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\conf\urls\i18n.pyi
i18n.pyi
Other
297
0.85
0.25
0
vue-tools
511
2024-10-01T01:08:33.311562
GPL-3.0
false
9435265e5136f864d22896afd09f4541
from typing import Any, Callable, List\n\nfrom django.urls.resolvers import URLPattern\n\ndef static(prefix: str, view: Callable = ..., **kwargs: Any) -> List[URLPattern]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\conf\urls\static.pyi
static.pyi
Other
172
0.85
0.2
0
node-utils
457
2023-12-23T06:44:34.799116
GPL-3.0
false
37d70fbabaf92ba42bc5d619da618593
# Stubs for django.conf.urls (Python 3.5)\nfrom typing import Any, Callable, Dict, List, Optional, overload, Tuple, Union\n\nfrom django.http.response import HttpResponse, HttpResponseBase\n\nfrom django.urls import URLResolver, URLPattern\n\nhandler400: Union[str, Callable[..., HttpResponse]] = ...\nhandler403: Union[str, Callable[..., HttpResponse]] = ...\nhandler404: Union[str, Callable[..., HttpResponse]] = ...\nhandler500: Union[str, Callable[..., HttpResponse]] = ...\n\nIncludedURLConf = Tuple[List[URLResolver], Optional[str], Optional[str]]\n\ndef include(arg: Any, namespace: str = ..., app_name: str = ...) -> IncludedURLConf: ...\n@overload\ndef url(\n regex: str, view: Callable[..., HttpResponseBase], kwargs: Dict[str, Any] = ..., name: str = ...\n) -> URLPattern: ...\n@overload\ndef url(regex: str, view: IncludedURLConf, kwargs: Dict[str, Any] = ..., name: str = ...) -> URLResolver: ...\n@overload\ndef url(\n regex: str, view: List[Union[URLResolver, str]], kwargs: Dict[str, Any] = ..., name: str = ...\n) -> URLResolver: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\conf\urls\__init__.pyi
__init__.pyi
Other
1,033
0.95
0.2
0.05
python-kit
923
2024-03-13T13:32:53.265623
BSD-3-Clause
false
42403efaa7b5b62cdafe13e7c8f8fb34
from typing import Optional\n\nfrom django.contrib.admin.options import ModelAdmin\nfrom django.core.handlers.wsgi import WSGIRequest\nfrom django.db.models.query import QuerySet\nfrom django.template.response import TemplateResponse\n\ndef delete_selected(modeladmin: ModelAdmin, request: WSGIRequest, queryset: QuerySet) -> Optional[TemplateResponse]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\actions.pyi
actions.pyi
Other
351
0.85
0.125
0
python-kit
513
2024-07-24T22:16:42.172056
MIT
false
f748e9ee6a9e4c3ef8722c794db8c3c4
from django.apps import AppConfig\n\nclass SimpleAdminConfig(AppConfig):\n default_site: str = ...\n\nclass AdminConfig(SimpleAdminConfig): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\apps.pyi
apps.pyi
Other
142
0.85
0.333333
0
awesome-app
5
2025-01-27T06:26:22.005243
BSD-3-Clause
false
fcbe1990f80220be7b59326782056fce
from typing import Any, List, Union, Iterable, Optional\n\nfrom django.contrib.admin.options import BaseModelAdmin\nfrom django.core.checks.messages import Error\n\nfrom django.apps.config import AppConfig\n\n_CheckError = Union[str, Error]\n\ndef check_admin_app(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[_CheckError]: ...\ndef check_dependencies(**kwargs: Any) -> List[_CheckError]: ...\n\nclass BaseModelAdminChecks:\n def check(self, admin_obj: BaseModelAdmin, **kwargs: Any) -> List[_CheckError]: ...\n\nclass ModelAdminChecks(BaseModelAdminChecks): ...\nclass InlineModelAdminChecks(BaseModelAdminChecks): ...\n\ndef must_be(type: Any, option: Any, obj: Any, id: Any): ...\ndef must_inherit_from(parent: Any, option: Any, obj: Any, id: Any): ...\ndef refer_to_missing_field(field: Any, option: Any, model: Any, obj: Any, id: Any): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\checks.pyi
checks.pyi
Other
849
0.85
0.428571
0
react-lib
806
2023-10-31T16:56:24.573206
GPL-3.0
false
ba67fe59ec8d5c69dbca52e40b5d5022
from typing import Any, Callable, Optional, Type\n\nfrom django.db.models.base import Model\n\ndef register(*models: Type[Model], site: Optional[Any] = ...) -> Callable: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\decorators.pyi
decorators.pyi
Other
170
0.85
0.2
0
react-lib
795
2025-06-10T06:49:38.289638
Apache-2.0
false
ddc5d504ba936a8343a543b36ba823fc
from typing import Any, Callable, Dict, List, Optional, Tuple, Type, Iterator\n\nfrom django.contrib.admin.options import ModelAdmin\nfrom django.core.handlers.wsgi import WSGIRequest\nfrom django.db.models.base import Model\nfrom django.db.models.fields.related import RelatedField\nfrom django.db.models.query import QuerySet\n\nfrom django.db.models.fields import Field\n\nclass ListFilter:\n title: Any = ...\n template: str = ...\n used_parameters: Any = ...\n def __init__(\n self, request: WSGIRequest, params: Dict[str, str], model: Type[Model], model_admin: ModelAdmin\n ) -> None: ...\n def has_output(self) -> bool: ...\n def choices(self, changelist: Any) -> Optional[Iterator[Dict[str, Any]]]: ...\n def queryset(self, request: Any, queryset: QuerySet) -> Optional[QuerySet]: ...\n def expected_parameters(self) -> Optional[List[str]]: ...\n\nclass SimpleListFilter(ListFilter):\n parameter_name: Any = ...\n lookup_choices: Any = ...\n def value(self) -> Optional[str]: ...\n def lookups(self, request: Any, model_admin: Any) -> List[Tuple[Any, str]]: ...\n\nclass FieldListFilter(ListFilter):\n field: Field = ...\n field_path: Any = ...\n title: Any = ...\n def __init__(\n self,\n field: Field,\n request: WSGIRequest,\n params: Dict[str, str],\n model: Type[Model],\n model_admin: ModelAdmin,\n field_path: str,\n ) -> None: ...\n @classmethod\n def register(cls, test: Callable, list_filter_class: Type[FieldListFilter], take_priority: bool = ...) -> None: ...\n @classmethod\n def create(\n cls,\n field: Field,\n request: WSGIRequest,\n params: Dict[str, str],\n model: Type[Model],\n model_admin: ModelAdmin,\n field_path: str,\n ) -> FieldListFilter: ...\n\nclass RelatedFieldListFilter(FieldListFilter):\n used_parameters: Dict[Any, Any]\n lookup_kwarg: str = ...\n lookup_kwarg_isnull: str = ...\n lookup_val: None = ...\n lookup_val_isnull: None = ...\n lookup_choices: Any = ...\n lookup_title: Any = ...\n title: str = ...\n empty_value_display: Any = ...\n @property\n def include_empty_choice(self) -> bool: ...\n def field_choices(\n self, field: RelatedField, request: WSGIRequest, model_admin: ModelAdmin\n ) -> List[Tuple[str, str]]: ...\n\nclass BooleanFieldListFilter(FieldListFilter):\n lookup_kwarg: Any = ...\n lookup_kwarg2: Any = ...\n lookup_val: Any = ...\n lookup_val2: Any = ...\n def choices(self, changelist: Any) -> None: ...\n\nclass ChoicesFieldListFilter(FieldListFilter):\n title: str\n used_parameters: Dict[Any, Any]\n lookup_kwarg: str = ...\n lookup_kwarg_isnull: str = ...\n lookup_val: None = ...\n lookup_val_isnull: None = ...\n\nclass DateFieldListFilter(FieldListFilter):\n field_generic: Any = ...\n date_params: Any = ...\n lookup_kwarg_since: Any = ...\n lookup_kwarg_until: Any = ...\n links: Any = ...\n lookup_kwarg_isnull: Any = ...\n\nclass AllValuesFieldListFilter(FieldListFilter):\n title: str\n used_parameters: Dict[Any, Any]\n lookup_kwarg: str = ...\n lookup_kwarg_isnull: str = ...\n lookup_val: None = ...\n lookup_val_isnull: None = ...\n empty_value_display: str = ...\n lookup_choices: QuerySet = ...\n\nclass RelatedOnlyFieldListFilter(RelatedFieldListFilter):\n lookup_kwarg: str\n lookup_kwarg_isnull: str\n lookup_val: None\n lookup_val_isnull: None\n title: str\n used_parameters: Dict[Any, Any]\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\filters.pyi
filters.pyi
Other
3,487
0.85
0.2
0
vue-tools
860
2024-06-26T05:31:49.029414
Apache-2.0
false
cc5dd6e41ed00afe3a62a9a7e3df1ecc
from django.contrib.auth.forms import AuthenticationForm, PasswordChangeForm\n\nclass AdminAuthenticationForm(AuthenticationForm):\n required_css_class: str = ...\n\nclass AdminPasswordChangeForm(PasswordChangeForm):\n required_css_class: str = ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\forms.pyi
forms.pyi
Other
249
0.85
0.285714
0
python-kit
829
2025-05-17T23:59:20.778766
BSD-3-Clause
false
5f8cfe7dd6b9b3a3d68510ea62c39401
from typing import Any, Callable, Dict, Iterator, List, Optional, Tuple, Union, Iterable\n\nfrom django.forms.boundfield import BoundField\nfrom django.forms.forms import BaseForm\nfrom django.forms.utils import ErrorDict\nfrom django.forms.widgets import Media, Widget\nfrom django.utils.safestring import SafeText\n\nfrom django import forms\nfrom django.db.models.fields import AutoField\n\nACTION_CHECKBOX_NAME: str\n\nclass ActionForm(forms.Form):\n action: Any = ...\n select_across: Any = ...\n\ncheckbox: Any\n\nclass AdminForm:\n prepopulated_fields: Any = ...\n model_admin: Any = ...\n readonly_fields: Any = ...\n def __init__(\n self,\n form: BaseForm,\n fieldsets: List[Tuple[None, Dict[str, List[str]]]],\n prepopulated_fields: Dict[Any, Any],\n readonly_fields: Optional[Iterable[Any]] = ...,\n model_admin: Any = ...,\n ) -> None: ...\n def __iter__(self) -> Iterator[Fieldset]: ...\n @property\n def errors(self) -> ErrorDict: ...\n @property\n def non_field_errors(self) -> Callable: ...\n @property\n def media(self) -> Media: ...\n\nclass Fieldset:\n form: Any = ...\n classes: Any = ...\n description: Any = ...\n model_admin: Any = ...\n readonly_fields: Any = ...\n def __init__(\n self,\n form: Any,\n name: Optional[Any] = ...,\n readonly_fields: Optional[Iterable[Any]] = ...,\n fields: Any = ...,\n classes: Any = ...,\n description: Optional[Any] = ...,\n model_admin: Optional[Any] = ...,\n ) -> None: ...\n @property\n def media(self) -> Media: ...\n def __iter__(self) -> Iterator[Fieldline]: ...\n\nclass Fieldline:\n form: Any = ...\n fields: Any = ...\n has_visible_field: Any = ...\n model_admin: Any = ...\n readonly_fields: Any = ...\n def __init__(\n self, form: Any, field: Any, readonly_fields: Optional[Iterable[Any]] = ..., model_admin: Optional[Any] = ...\n ) -> None: ...\n def __iter__(self) -> Iterator[Union[AdminField, AdminReadonlyField]]: ...\n def errors(self) -> SafeText: ...\n\nclass AdminField:\n field: BoundField = ...\n is_first: bool = ...\n is_checkbox: bool = ...\n is_readonly: bool = ...\n def __init__(self, form: Any, field: Any, is_first: Any) -> None: ...\n def label_tag(self) -> SafeText: ...\n def errors(self) -> SafeText: ...\n\nclass AdminReadonlyField:\n field: Any = ...\n form: Any = ...\n model_admin: Any = ...\n is_first: Any = ...\n is_checkbox: bool = ...\n is_readonly: bool = ...\n empty_value_display: Any = ...\n def __init__(self, form: Any, field: Any, is_first: Any, model_admin: Optional[Any] = ...) -> None: ...\n def label_tag(self) -> SafeText: ...\n def contents(self) -> SafeText: ...\n\nclass InlineAdminFormSet:\n opts: Any = ...\n formset: Any = ...\n fieldsets: Any = ...\n model_admin: Any = ...\n readonly_fields: Any = ...\n prepopulated_fields: Any = ...\n classes: Any = ...\n has_add_permission: Any = ...\n has_change_permission: Any = ...\n has_delete_permission: Any = ...\n has_view_permission: Any = ...\n def __init__(\n self,\n inline: Any,\n formset: Any,\n fieldsets: Any,\n prepopulated_fields: Optional[Any] = ...,\n readonly_fields: Optional[Any] = ...,\n model_admin: Optional[Any] = ...,\n has_add_permission: bool = ...,\n has_change_permission: bool = ...,\n has_delete_permission: bool = ...,\n has_view_permission: bool = ...,\n ) -> None: ...\n def __iter__(self) -> Iterator[InlineAdminForm]: ...\n def fields(self) -> Iterator[Dict[str, Union[Dict[str, bool], bool, Widget, str]]]: ...\n def inline_formset_data(self) -> str: ...\n @property\n def forms(self): ...\n @property\n def non_form_errors(self) -> Callable: ...\n @property\n def media(self) -> Media: ...\n\nclass InlineAdminForm(AdminForm):\n formset: Any = ...\n original: Any = ...\n show_url: Any = ...\n absolute_url: Any = ...\n def __init__(\n self,\n formset: Any,\n form: Any,\n fieldsets: Any,\n prepopulated_fields: Any,\n original: Any,\n readonly_fields: Optional[Any] = ...,\n model_admin: Optional[Any] = ...,\n view_on_site_url: Optional[Any] = ...,\n ) -> None: ...\n def needs_explicit_pk_field(self) -> Union[bool, AutoField]: ...\n def pk_field(self) -> AdminField: ...\n def fk_field(self) -> AdminField: ...\n def deletion_field(self) -> AdminField: ...\n def ordering_field(self): ...\n\nclass InlineFieldset(Fieldset):\n formset: Any = ...\n def __init__(self, formset: Any, *args: Any, **kwargs: Any) -> None: ...\n\nclass AdminErrorList(forms.utils.ErrorList):\n def __init__(self, form: Any, inline_formsets: Any) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\helpers.pyi
helpers.pyi
Other
4,790
0.85
0.270968
0
awesome-app
755
2024-01-24T20:28:08.705364
MIT
false
e3b088e88744ad9e29d6f658ec411742
from typing import Any, Optional, Union\nfrom uuid import UUID\n\nfrom django.contrib.contenttypes.models import ContentType\nfrom django.db.models.base import Model\n\nfrom django.db import models\n\nADDITION: int\nCHANGE: int\nDELETION: int\nACTION_FLAG_CHOICES: Any\n\nclass LogEntryManager(models.Manager["LogEntry"]):\n def log_action(\n self,\n user_id: int,\n content_type_id: int,\n object_id: Union[int, str, UUID],\n object_repr: str,\n action_flag: int,\n change_message: Any = ...,\n ) -> LogEntry: ...\n\nclass LogEntry(models.Model):\n action_time: models.DateTimeField = ...\n user: models.ForeignKey = ...\n content_type: models.ForeignKey = models.ForeignKey(ContentType, on_delete=models.CASCADE)\n object_id: models.TextField = ...\n object_repr: models.CharField = ...\n action_flag: models.PositiveSmallIntegerField = ...\n change_message: models.TextField = ...\n objects: LogEntryManager = ...\n def is_addition(self) -> bool: ...\n def is_change(self) -> bool: ...\n def is_deletion(self) -> bool: ...\n def get_change_message(self) -> str: ...\n def get_edited_object(self) -> Model: ...\n def get_admin_url(self) -> Optional[str]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\models.pyi
models.pyi
Other
1,220
0.85
0.230769
0
react-lib
738
2025-06-19T22:39:02.005377
GPL-3.0
false
156ce7d3358e2c8e9f76ddf54cd9e1ae
from collections import OrderedDict\nfrom typing import Any, Callable, Dict, Iterator, List, Optional, Sequence, Set, Tuple, Type, Union, Mapping, TypeVar\n\nfrom django.forms.forms import BaseForm\nfrom django.forms.formsets import BaseFormSet\nfrom typing_extensions import Literal, TypedDict\n\nfrom django.contrib.admin.filters import ListFilter\nfrom django.contrib.admin.models import LogEntry\nfrom django.contrib.admin.sites import AdminSite\nfrom django.contrib.admin.views.main import ChangeList\nfrom django.contrib.auth.forms import AdminPasswordChangeForm\nfrom django.contrib.contenttypes.models import ContentType\nfrom django.core.checks.messages import Error\nfrom django.core.paginator import Paginator\nfrom django.db.models.base import Model\nfrom django.db.models.fields.related import ForeignKey, ManyToManyField, RelatedField\nfrom django.db.models.options import Options\nfrom django.db.models.query import QuerySet\nfrom django.forms.fields import TypedChoiceField\nfrom django.forms.models import ModelChoiceField, ModelMultipleChoiceField\nfrom django.forms.widgets import Media\nfrom django.http.request import HttpRequest\nfrom django.http.response import HttpResponse, HttpResponseBase, HttpResponseRedirect, JsonResponse\nfrom django.template.response import TemplateResponse\nfrom django.urls.resolvers import URLPattern\nfrom django.utils.safestring import SafeText\n\nfrom django.db.models.fields import Field\n\nIS_POPUP_VAR: str\nTO_FIELD_VAR: str\nHORIZONTAL: Literal[1] = ...\nVERTICAL: Literal[2] = ...\n\n_Direction = Union[Literal[1], Literal[2]]\n\ndef get_content_type_for_model(obj: Union[Type[Model], Model]) -> ContentType: ...\ndef get_ul_class(radio_style: int) -> str: ...\n\nclass IncorrectLookupParameters(Exception): ...\n\nFORMFIELD_FOR_DBFIELD_DEFAULTS: Any\ncsrf_protect_m: Any\n\nclass _OptionalFieldOpts(TypedDict, total=False):\n classes: Sequence[str]\n description: str\n\nclass _FieldOpts(_OptionalFieldOpts, total=True):\n fields: Sequence[Union[str, Sequence[str]]]\n\n# Workaround for mypy issue, a Sequence type should be preferred here.\n# https://github.com/python/mypy/issues/8921\n# _FieldsetSpec = Sequence[Tuple[Optional[str], _FieldOpts]]\n_T = TypeVar("_T")\n_ListOrTuple = Union[Tuple[_T, ...], List[_T]]\n_FieldsetSpec = _ListOrTuple[Tuple[Optional[str], _FieldOpts]]\n\nclass BaseModelAdmin:\n autocomplete_fields: Sequence[str] = ...\n raw_id_fields: Sequence[str] = ...\n fields: Sequence[Union[str, Sequence[str]]] = ...\n exclude: Sequence[str] = ...\n fieldsets: _FieldsetSpec = ...\n form: Type[BaseForm] = ...\n filter_vertical: Sequence[str] = ...\n filter_horizontal: Sequence[str] = ...\n radio_fields: Mapping[str, _Direction] = ...\n prepopulated_fields: Mapping[str, Sequence[str]] = ...\n formfield_overrides: Mapping[Type[Field], Mapping[str, Any]] = ...\n readonly_fields: Sequence[Union[str, Callable[[Model], Any]]] = ...\n ordering: Sequence[str] = ...\n sortable_by: Sequence[str] = ...\n view_on_site: bool = ...\n show_full_result_count: bool = ...\n checks_class: Any = ...\n def check(self, **kwargs: Any) -> List[Union[str, Error]]: ...\n def formfield_for_dbfield(\n self, db_field: Field, request: Optional[HttpRequest], **kwargs: Any\n ) -> Optional[Field]: ...\n def formfield_for_choice_field(\n self, db_field: Field, request: Optional[HttpRequest], **kwargs: Any\n ) -> TypedChoiceField: ...\n def get_field_queryset(\n self, db: None, db_field: RelatedField, request: Optional[HttpRequest]\n ) -> Optional[QuerySet]: ...\n def formfield_for_foreignkey(\n self, db_field: ForeignKey, request: Optional[HttpRequest], **kwargs: Any\n ) -> Optional[ModelChoiceField]: ...\n def formfield_for_manytomany(\n self, db_field: ManyToManyField, request: Optional[HttpRequest], **kwargs: Any\n ) -> ModelMultipleChoiceField: ...\n def get_autocomplete_fields(self, request: HttpRequest) -> Tuple: ...\n def get_view_on_site_url(self, obj: Optional[Model] = ...) -> Optional[str]: ...\n def get_empty_value_display(self) -> SafeText: ...\n def get_exclude(self, request: HttpRequest, obj: Optional[Model] = ...) -> Any: ...\n def get_fields(self, request: HttpRequest, obj: Optional[Model] = ...) -> Sequence[Union[Callable, str]]: ...\n def get_fieldsets(\n self, request: HttpRequest, obj: Optional[Model] = ...\n ) -> List[Tuple[Optional[str], Dict[str, Any]]]: ...\n def get_ordering(self, request: HttpRequest) -> Union[List[str], Tuple]: ...\n def get_readonly_fields(self, request: HttpRequest, obj: Optional[Model] = ...) -> Union[List[str], Tuple]: ...\n def get_prepopulated_fields(self, request: HttpRequest, obj: Optional[Model] = ...) -> Dict[str, Tuple[str]]: ...\n def get_queryset(self, request: HttpRequest) -> QuerySet: ...\n def get_sortable_by(self, request: HttpRequest) -> Union[List[Callable], List[str], Tuple]: ...\n def lookup_allowed(self, lookup: str, value: str) -> bool: ...\n def to_field_allowed(self, request: HttpRequest, to_field: str) -> bool: ...\n def has_add_permission(self, request: HttpRequest) -> bool: ...\n def has_change_permission(self, request: HttpRequest, obj: Optional[Model] = ...) -> bool: ...\n def has_delete_permission(self, request: HttpRequest, obj: Optional[Model] = ...) -> bool: ...\n def has_view_permission(self, request: HttpRequest, obj: Optional[Model] = ...) -> bool: ...\n def has_module_permission(self, request: HttpRequest) -> bool: ...\n\nclass ModelAdmin(BaseModelAdmin):\n list_display: Sequence[Union[str, Callable[[Model], Any]]] = ...\n list_display_links: Optional[Sequence[Union[str, Callable]]] = ...\n list_filter: Sequence[Union[str, Type[ListFilter], Tuple[str, Type[ListFilter]]]] = ...\n list_select_related: Union[bool, Sequence[str]] = ...\n list_per_page: int = ...\n list_max_show_all: int = ...\n list_editable: Sequence[str] = ...\n search_fields: Sequence[str] = ...\n date_hierarchy: Optional[str] = ...\n save_as: bool = ...\n save_as_continue: bool = ...\n save_on_top: bool = ...\n paginator: Type = ...\n preserve_filters: bool = ...\n inlines: Sequence[Type[InlineModelAdmin]] = ...\n add_form_template: str = ...\n change_form_template: str = ...\n change_list_template: str = ...\n delete_confirmation_template: str = ...\n delete_selected_confirmation_template: str = ...\n object_history_template: str = ...\n popup_response_template: str = ...\n actions: Sequence[Callable[[ModelAdmin, HttpRequest, QuerySet], None]] = ...\n action_form: Any = ...\n actions_on_top: bool = ...\n actions_on_bottom: bool = ...\n actions_selection_counter: bool = ...\n model: Type[Model] = ...\n opts: Options = ...\n admin_site: AdminSite = ...\n def __init__(self, model: Type[Model], admin_site: Optional[AdminSite]) -> None: ...\n def get_inline_instances(self, request: HttpRequest, obj: Optional[Model] = ...) -> List[InlineModelAdmin]: ...\n def get_urls(self) -> List[URLPattern]: ...\n @property\n def urls(self) -> List[URLPattern]: ...\n @property\n def media(self) -> Media: ...\n def get_model_perms(self, request: HttpRequest) -> Dict[str, bool]: ...\n def get_form(self, request: Any, obj: Optional[Any] = ..., change: bool = ..., **kwargs: Any): ...\n def get_changelist(self, request: HttpRequest, **kwargs: Any) -> Type[ChangeList]: ...\n def get_changelist_instance(self, request: HttpRequest) -> ChangeList: ...\n def get_object(self, request: HttpRequest, object_id: str, from_field: None = ...) -> Optional[Model]: ...\n def get_changelist_form(self, request: Any, **kwargs: Any): ...\n def get_changelist_formset(self, request: Any, **kwargs: Any): ...\n def get_formsets_with_inlines(self, request: HttpRequest, obj: Optional[Model] = ...) -> Iterator[Any]: ...\n def get_paginator(\n self,\n request: HttpRequest,\n queryset: QuerySet,\n per_page: int,\n orphans: int = ...,\n allow_empty_first_page: bool = ...,\n ) -> Paginator: ...\n def log_addition(self, request: HttpRequest, object: Model, message: Any) -> LogEntry: ...\n def log_change(self, request: HttpRequest, object: Model, message: Any) -> LogEntry: ...\n def log_deletion(self, request: HttpRequest, object: Model, object_repr: str) -> LogEntry: ...\n def action_checkbox(self, obj: Model) -> SafeText: ...\n def get_actions(self, request: HttpRequest) -> OrderedDict: ...\n def get_action_choices(\n self, request: HttpRequest, default_choices: List[Tuple[str, str]] = ...\n ) -> List[Tuple[str, str]]: ...\n def get_action(self, action: Union[Callable, str]) -> Tuple[Callable, str, str]: ...\n def get_list_display(self, request: HttpRequest) -> Sequence[str]: ...\n def get_list_display_links(self, request: HttpRequest, list_display: Sequence[str]) -> Optional[Sequence[str]]: ...\n def get_list_filter(self, request: HttpRequest) -> Sequence[str]: ...\n def get_list_select_related(self, request: HttpRequest) -> Sequence[str]: ...\n def get_search_fields(self, request: HttpRequest) -> List[str]: ...\n def get_search_results(\n self, request: HttpRequest, queryset: QuerySet, search_term: str\n ) -> Tuple[QuerySet, bool]: ...\n def get_preserved_filters(self, request: HttpRequest) -> str: ...\n def _get_edited_object_pks(self, request: HttpRequest, prefix: str) -> List[str]: ...\n def _get_list_editable_queryset(self, request: HttpRequest, prefix: str) -> QuerySet: ...\n def construct_change_message(\n self, request: HttpRequest, form: AdminPasswordChangeForm, formsets: None, add: bool = ...\n ) -> List[Dict[str, Dict[str, List[str]]]]: ...\n def message_user(\n self,\n request: HttpRequest,\n message: str,\n level: Union[int, str] = ...,\n extra_tags: str = ...,\n fail_silently: bool = ...,\n ) -> None: ...\n def save_form(self, request: Any, form: Any, change: Any): ...\n def save_model(self, request: Any, obj: Any, form: Any, change: Any) -> None: ...\n def delete_model(self, request: HttpRequest, obj: Model) -> None: ...\n def delete_queryset(self, request: HttpRequest, queryset: QuerySet) -> None: ...\n def save_formset(self, request: Any, form: Any, formset: Any, change: Any) -> None: ...\n def save_related(self, request: Any, form: Any, formsets: Any, change: Any) -> None: ...\n def render_change_form(\n self,\n request: Any,\n context: Any,\n add: bool = ...,\n change: bool = ...,\n form_url: str = ...,\n obj: Optional[Any] = ...,\n ): ...\n def response_add(\n self, request: HttpRequest, obj: Model, post_url_continue: Optional[str] = ...\n ) -> HttpResponse: ...\n def response_change(self, request: HttpRequest, obj: Model) -> HttpResponse: ...\n def response_post_save_add(self, request: HttpRequest, obj: Model) -> HttpResponseRedirect: ...\n def response_post_save_change(self, request: HttpRequest, obj: Model) -> HttpResponseRedirect: ...\n def response_action(self, request: HttpRequest, queryset: QuerySet) -> Optional[HttpResponseBase]: ...\n def response_delete(self, request: HttpRequest, obj_display: str, obj_id: int) -> HttpResponse: ...\n def render_delete_form(self, request: Any, context: Any): ...\n def get_inline_formsets(\n self, request: HttpRequest, formsets: List[Any], inline_instances: List[Any], obj: Optional[Model] = ...\n ) -> List[Any]: ...\n def get_changeform_initial_data(self, request: HttpRequest) -> Dict[str, str]: ...\n def changeform_view(\n self,\n request: HttpRequest,\n object_id: Optional[str] = ...,\n form_url: str = ...,\n extra_context: Optional[Dict[str, bool]] = ...,\n ) -> Any: ...\n def autocomplete_view(self, request: HttpRequest) -> JsonResponse: ...\n def add_view(self, request: HttpRequest, form_url: str = ..., extra_context: None = ...) -> HttpResponse: ...\n def change_view(\n self, request: HttpRequest, object_id: str, form_url: str = ..., extra_context: Optional[Dict[str, bool]] = ...\n ) -> HttpResponse: ...\n def changelist_view(\n self, request: HttpRequest, extra_context: Optional[Dict[str, str]] = ...\n ) -> TemplateResponse: ...\n def get_deleted_objects(\n self, objs: QuerySet, request: HttpRequest\n ) -> Tuple[List[Any], Dict[Any, Any], Set[Any], List[Any]]: ...\n def delete_view(self, request: HttpRequest, object_id: str, extra_context: None = ...) -> Any: ...\n def history_view(self, request: HttpRequest, object_id: str, extra_context: None = ...) -> HttpResponse: ...\n\nclass InlineModelAdmin(BaseModelAdmin):\n model: Type[Model] = ...\n fk_name: str = ...\n formset: BaseFormSet = ...\n extra: int = ...\n min_num: Optional[int] = ...\n max_num: Optional[int] = ...\n template: str = ...\n verbose_name: Optional[str] = ...\n verbose_name_plural: Optional[str] = ...\n can_delete: bool = ...\n show_change_link: bool = ...\n classes: Optional[Sequence[str]] = ...\n admin_site: AdminSite = ...\n parent_model: Any = ...\n opts: Any = ...\n has_registered_model: Any = ...\n def __init__(self, parent_model: Union[Type[Model], Model], admin_site: AdminSite) -> None: ...\n @property\n def media(self) -> Media: ...\n def get_extra(self, request: HttpRequest, obj: Optional[Model] = ..., **kwargs: Any) -> int: ...\n def get_min_num(self, request: HttpRequest, obj: Optional[Model] = ..., **kwargs: Any) -> Optional[int]: ...\n def get_max_num(self, request: HttpRequest, obj: Optional[Model] = ..., **kwargs: Any) -> Optional[int]: ...\n def get_formset(self, request: Any, obj: Optional[Any] = ..., **kwargs: Any): ...\n\nclass StackedInline(InlineModelAdmin): ...\nclass TabularInline(InlineModelAdmin): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\options.pyi
options.pyi
Other
13,828
0.95
0.352727
0.011538
awesome-app
362
2023-09-21T17:52:53.404221
GPL-3.0
false
695cff78b0f60c89aea6c071e7c8be64
from typing import Any, Callable, Dict, Iterable, List, Optional, Tuple, Type, Union\n\nfrom django.contrib.admin.options import ModelAdmin\nfrom django.core.handlers.wsgi import WSGIRequest\nfrom django.db.models.base import Model\nfrom django.http.response import HttpResponse\nfrom django.template.response import TemplateResponse\nfrom django.urls.resolvers import URLResolver\nfrom django.utils.functional import LazyObject\n\nfrom django.apps.config import AppConfig\n\nall_sites: Any\n\nclass AlreadyRegistered(Exception): ...\nclass NotRegistered(Exception): ...\n\nclass AdminSite:\n site_title: Any = ...\n site_header: Any = ...\n index_title: Any = ...\n site_url: str = ...\n login_form: Any = ...\n index_template: Any = ...\n app_index_template: Any = ...\n login_template: Any = ...\n logout_template: Any = ...\n password_change_template: Any = ...\n password_change_done_template: Any = ...\n name: str = ...\n _registry: Dict[Type[Model], ModelAdmin]\n def __init__(self, name: str = ...) -> None: ...\n def check(self, app_configs: Optional[Iterable[AppConfig]]) -> List[Any]: ...\n def register(\n self,\n model_or_iterable: Union[Type[Model], Iterable[Type[Model]]],\n admin_class: Optional[Type[ModelAdmin]] = ...,\n **options: Any\n ) -> None: ...\n def unregister(self, model_or_iterable: Union[Type[Model], Iterable[Type[Model]]]) -> None: ...\n def is_registered(self, model: Type[Model]) -> bool: ...\n def add_action(self, action: Callable, name: Optional[str] = ...) -> None: ...\n def disable_action(self, name: str) -> None: ...\n def get_action(self, name: str) -> Callable: ...\n @property\n def actions(self): ...\n @property\n def empty_value_display(self): ...\n @empty_value_display.setter\n def empty_value_display(self, empty_value_display: Any) -> None: ...\n def has_permission(self, request: WSGIRequest) -> bool: ...\n def admin_view(self, view: Callable, cacheable: bool = ...) -> Callable: ...\n def get_urls(self) -> List[URLResolver]: ...\n @property\n def urls(self) -> Tuple[List[URLResolver], str, str]: ...\n def each_context(self, request: Any): ...\n def password_change(\n self, request: WSGIRequest, extra_context: Optional[Dict[str, Any]] = ...\n ) -> TemplateResponse: ...\n def password_change_done(\n self, request: WSGIRequest, extra_context: Optional[Dict[str, Any]] = ...\n ) -> TemplateResponse: ...\n def i18n_javascript(self, request: WSGIRequest, extra_context: Optional[Dict[Any, Any]] = ...) -> HttpResponse: ...\n def logout(self, request: WSGIRequest, extra_context: Optional[Dict[str, Any]] = ...) -> TemplateResponse: ...\n def login(self, request: WSGIRequest, extra_context: Optional[Dict[str, Any]] = ...) -> HttpResponse: ...\n def _build_app_dict(self, request: WSGIRequest, label: Optional[str] = ...) -> Dict[str, Any]: ...\n def get_app_list(self, request: WSGIRequest) -> List[Any]: ...\n def index(self, request: WSGIRequest, extra_context: Optional[Dict[str, Any]] = ...) -> TemplateResponse: ...\n def app_index(\n self, request: WSGIRequest, app_label: str, extra_context: Optional[Dict[str, Any]] = ...\n ) -> TemplateResponse: ...\n\nclass DefaultAdminSite(LazyObject): ...\n\nsite: Any\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\sites.pyi
sites.pyi
Other
3,288
0.85
0.386667
0.014706
python-kit
463
2025-03-21T01:02:33.686643
MIT
false
ac47831b0dc1500705aee2b7941b8459
from typing import Any, Callable\n\nfrom django.contrib.staticfiles.testing import StaticLiveServerTestCase\nfrom django.test.selenium import SeleniumTestCase\nfrom django.utils.deprecation import MiddlewareMixin\n\nclass CSPMiddleware(MiddlewareMixin): ...\n\nclass AdminSeleniumTestCase(SeleniumTestCase, StaticLiveServerTestCase):\n def wait_until(self, callback: Callable, timeout: int = ...) -> None: ...\n def wait_for_popup(self, num_windows: int = ..., timeout: int = ...) -> None: ...\n def wait_for(self, css_selector: str, timeout: int = ...) -> None: ...\n def wait_for_text(self, css_selector: str, text: str, timeout: int = ...) -> None: ...\n def wait_for_value(self, css_selector: str, text: str, timeout: int = ...) -> None: ...\n def wait_until_visible(self, css_selector: str, timeout: int = ...) -> None: ...\n def wait_until_invisible(self, css_selector: str, timeout: int = ...) -> None: ...\n def wait_page_loaded(self) -> None: ...\n def admin_login(self, username: str, password: str, login_url: str = ...) -> None: ...\n def get_css_value(self, selector: str, attribute: str) -> Any: ...\n def get_select_option(self, selector: str, value: Any) -> Any: ...\n def assertSelectOptions(self, selector: str, values: Any) -> None: ...\n def assertSelectedOptions(self, selector: str, values: Any) -> None: ...\n def has_css_class(self, selector: str, klass: str) -> bool: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\tests.pyi
tests.pyi
Other
1,417
0.85
0.695652
0
awesome-app
693
2024-01-30T12:25:16.890722
BSD-3-Clause
true
c16b62bb53364ac7229018fba2d4fc73
import collections\nfrom datetime import datetime\nfrom typing import Any, Callable, Dict, List, Optional, Sequence, Set, Tuple, Type, Union\nfrom uuid import UUID\n\nfrom django.contrib.admin.options import BaseModelAdmin\nfrom django.contrib.admin.sites import AdminSite\nfrom django.contrib.auth.forms import AdminPasswordChangeForm\nfrom django.core.handlers.wsgi import WSGIRequest\nfrom django.db.models.base import Model\nfrom django.db.models.deletion import Collector\nfrom django.db.models.fields.reverse_related import ManyToOneRel\nfrom django.db.models.options import Options\nfrom django.db.models.query import QuerySet\nfrom django.forms.forms import BaseForm\n\nfrom django.db.models.fields import Field, reverse_related\n\nclass FieldIsAForeignKeyColumnName(Exception): ...\n\ndef lookup_needs_distinct(opts: Options, lookup_path: str) -> bool: ...\ndef prepare_lookup_value(key: str, value: Union[datetime, str]) -> Union[bool, datetime, str]: ...\ndef quote(s: Union[int, str, UUID]) -> str: ...\ndef unquote(s: str) -> str: ...\ndef flatten(fields: Any) -> List[Union[Callable, str]]: ...\ndef flatten_fieldsets(fieldsets: Any) -> List[Union[Callable, str]]: ...\ndef get_deleted_objects(\n objs: Sequence[Optional[Model]], request: WSGIRequest, admin_site: AdminSite\n) -> Tuple[List[Any], Dict[Any, Any], Set[Any], List[Any]]: ...\n\nclass NestedObjects(Collector):\n data: collections.OrderedDict\n dependencies: Dict[Any, Any]\n fast_deletes: List[Any]\n field_updates: Dict[Any, Any]\n using: str\n edges: Any = ...\n protected: Any = ...\n model_objs: Any = ...\n def __init__(self, *args: Any, **kwargs: Any) -> None: ...\n def add_edge(self, source: Optional[Model], target: Model) -> None: ...\n def related_objects(self, related: ManyToOneRel, objs: Sequence[Optional[Model]]) -> QuerySet: ...\n def nested(self, format_callback: Callable = ...) -> List[Any]: ...\n\ndef model_format_dict(obj: Any): ...\ndef model_ngettext(obj: Union[Options, QuerySet], n: Optional[int] = ...) -> str: ...\ndef lookup_field(\n name: Union[Callable, str], obj: Model, model_admin: BaseModelAdmin = ...\n) -> Tuple[Optional[Field], Any, Any]: ...\ndef label_for_field(\n name: Union[Callable, str],\n model: Type[Model],\n model_admin: Optional[BaseModelAdmin] = ...,\n return_attr: bool = ...,\n form: Optional[BaseForm] = ...,\n) -> Union[Tuple[Optional[str], Union[Callable, Type[str]]], str]: ...\ndef help_text_for_field(name: str, model: Type[Model]) -> str: ...\ndef display_for_field(value: Any, field: Field, empty_value_display: str) -> str: ...\ndef display_for_value(value: Any, empty_value_display: str, boolean: bool = ...) -> str: ...\n\nclass NotRelationField(Exception): ...\n\ndef get_model_from_relation(field: Union[Field, reverse_related.ForeignObjectRel]) -> Type[Model]: ...\ndef reverse_field_path(model: Type[Model], path: str) -> Tuple[Type[Model], str]: ...\ndef get_fields_from_path(model: Type[Model], path: str) -> List[Field]: ...\ndef construct_change_message(\n form: AdminPasswordChangeForm, formsets: None, add: bool\n) -> List[Dict[str, Dict[str, List[str]]]]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\utils.pyi
utils.pyi
Other
3,107
0.85
0.367647
0
vue-tools
2
2024-02-28T21:54:59.392091
MIT
false
d8ad791e37d1d58bcfa60e0c81e186f0
from typing import Any, Dict, Optional, Tuple, Union\nfrom uuid import UUID\n\nfrom django.contrib.admin.sites import AdminSite\nfrom django.db.models.fields.reverse_related import ForeignObjectRel, ManyToOneRel\nfrom django.forms.models import ModelChoiceIterator\nfrom django.forms.widgets import Media\n\nfrom django import forms\n\nclass FilteredSelectMultiple(forms.SelectMultiple):\n @property\n def media(self) -> Media: ...\n verbose_name: Any = ...\n is_stacked: Any = ...\n def __init__(self, verbose_name: str, is_stacked: bool, attrs: None = ..., choices: Tuple = ...) -> None: ...\n\nclass AdminDateWidget(forms.DateInput):\n @property\n def media(self) -> Media: ...\n\nclass AdminTimeWidget(forms.TimeInput):\n @property\n def media(self) -> Media: ...\n\nclass AdminSplitDateTime(forms.SplitDateTimeWidget): ...\nclass AdminRadioSelect(forms.RadioSelect): ...\nclass AdminFileWidget(forms.ClearableFileInput): ...\n\ndef url_params_from_lookup_dict(lookups: Any) -> Dict[str, str]: ...\n\nclass ForeignKeyRawIdWidget(forms.TextInput):\n rel: ManyToOneRel = ...\n admin_site: AdminSite = ...\n db: None = ...\n def __init__(self, rel: ForeignObjectRel, admin_site: AdminSite, attrs: None = ..., using: None = ...) -> None: ...\n def base_url_parameters(self) -> Dict[str, str]: ...\n def url_parameters(self) -> Dict[str, str]: ...\n def label_and_url_for_value(self, value: Union[int, str, UUID]) -> Tuple[str, str]: ...\n\nclass ManyToManyRawIdWidget(ForeignKeyRawIdWidget): ...\n\nclass RelatedFieldWidgetWrapper(forms.Widget):\n template_name: str = ...\n choices: ModelChoiceIterator = ...\n widget: forms.Widget = ...\n rel: ManyToOneRel = ...\n can_add_related: bool = ...\n can_change_related: bool = ...\n can_delete_related: bool = ...\n can_view_related: bool = ...\n admin_site: AdminSite = ...\n def __init__(\n self,\n widget: forms.Widget,\n rel: ForeignObjectRel,\n admin_site: AdminSite,\n can_add_related: Optional[bool] = ...,\n can_change_related: bool = ...,\n can_delete_related: bool = ...,\n can_view_related: bool = ...,\n ) -> None: ...\n @property\n def media(self) -> Media: ...\n def get_related_url(self, info: Tuple[str, str], action: str, *args: Any) -> str: ...\n\nclass AdminTextareaWidget(forms.Textarea): ...\nclass AdminTextInputWidget(forms.TextInput): ...\nclass AdminEmailInputWidget(forms.EmailInput): ...\nclass AdminURLFieldWidget(forms.URLInput): ...\n\nclass AdminIntegerFieldWidget(forms.NumberInput):\n class_name: str = ...\n\nclass AdminBigIntegerFieldWidget(AdminIntegerFieldWidget): ...\n\nclass AdminUUIDInputWidget(forms.TextInput):\n def __init__(self, attrs: Optional[Dict[str, str]] = ...) -> None: ...\n\nSELECT2_TRANSLATIONS: Any\n\nclass AutocompleteMixin:\n url_name: str = ...\n rel: Any = ...\n admin_site: Any = ...\n db: Any = ...\n choices: Any = ...\n attrs: Any = ...\n def __init__(\n self,\n rel: ForeignObjectRel,\n admin_site: AdminSite,\n attrs: Optional[Dict[str, str]] = ...,\n choices: Tuple = ...,\n using: None = ...,\n ) -> None: ...\n def get_url(self) -> str: ...\n @property\n def media(self) -> Media: ...\n\nclass AutocompleteSelect(AutocompleteMixin, forms.Select): ...\nclass AutocompleteSelectMultiple(AutocompleteMixin, forms.SelectMultiple): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\widgets.pyi
widgets.pyi
Other
3,375
0.85
0.343137
0
vue-tools
526
2025-04-14T00:16:54.789377
BSD-3-Clause
false
26545ccc269078e0a62de79263e3ef1c
from .decorators import register as register\nfrom .filters import (\n AllValuesFieldListFilter as AllValuesFieldListFilter,\n BooleanFieldListFilter as BooleanFieldListFilter,\n ChoicesFieldListFilter as ChoicesFieldListFilter,\n DateFieldListFilter as DateFieldListFilter,\n FieldListFilter as FieldListFilter,\n ListFilter as ListFilter,\n RelatedFieldListFilter as RelatedFieldListFilter,\n RelatedOnlyFieldListFilter as RelatedOnlyFieldListFilter,\n SimpleListFilter as SimpleListFilter,\n)\nfrom .helpers import ACTION_CHECKBOX_NAME as ACTION_CHECKBOX_NAME\nfrom .options import (\n HORIZONTAL as HORIZONTAL,\n VERTICAL as VERTICAL,\n ModelAdmin as ModelAdmin,\n StackedInline as StackedInline,\n TabularInline as TabularInline,\n)\nfrom .sites import AdminSite as AdminSite, site as site\nfrom . import checks as checks\n\ndef autodiscover() -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\__init__.pyi
__init__.pyi
Other
881
0.85
0.041667
0
awesome-app
983
2024-05-10T01:24:20.045902
Apache-2.0
false
dbde139150422c643afe361bb33f4e75
from typing import Any, Dict, Iterator, List, Optional, Union, Iterable\n\nfrom django.contrib.admin.filters import FieldListFilter\nfrom django.contrib.admin.templatetags.base import InclusionAdminNode\nfrom django.contrib.admin.views.main import ChangeList\nfrom django.db.models.base import Model\nfrom django.forms.boundfield import BoundField\nfrom django.template.base import Parser, Token\nfrom django.template.context import RequestContext\nfrom django.utils.safestring import SafeText\n\nfrom .base import InclusionAdminNode\n\nregister: Any\nDOT: str\n\ndef paginator_number(cl: ChangeList, i: int) -> SafeText: ...\ndef pagination(cl: ChangeList) -> Dict[str, Iterable[Any]]: ...\ndef pagination_tag(parser: Parser, token: Token) -> InclusionAdminNode: ...\ndef result_headers(cl: ChangeList) -> Iterator[Dict[str, Optional[Union[int, str]]]]: ...\ndef items_for_result(cl: ChangeList, result: Model, form: None) -> Iterator[SafeText]: ...\n\nclass ResultList(list):\n form: None = ...\n def __init__(self, form: None, *items: Any) -> None: ...\n\ndef results(cl: ChangeList) -> Iterator[ResultList]: ...\ndef result_hidden_fields(cl: ChangeList) -> Iterator[BoundField]: ...\ndef result_list(\n cl: ChangeList,\n) -> Dict[\n str, Union[List[Dict[str, Optional[Union[int, str]]]], List[ResultList], List[BoundField], ChangeList, int]\n]: ...\ndef result_list_tag(parser: Parser, token: Token) -> InclusionAdminNode: ...\ndef date_hierarchy(cl: ChangeList) -> Optional[Dict[str, Any]]: ...\ndef date_hierarchy_tag(parser: Parser, token: Token) -> InclusionAdminNode: ...\ndef search_form(cl: ChangeList) -> Dict[str, Union[bool, ChangeList, str]]: ...\ndef search_form_tag(parser: Parser, token: Token) -> InclusionAdminNode: ...\ndef admin_list_filter(cl: ChangeList, spec: FieldListFilter) -> SafeText: ...\ndef admin_actions(context: RequestContext) -> RequestContext: ...\ndef admin_actions_tag(parser: Parser, token: Token) -> InclusionAdminNode: ...\ndef change_list_object_tools_tag(parser: Parser, token: Token) -> InclusionAdminNode: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\templatetags\admin_list.pyi
admin_list.pyi
Other
2,028
0.85
0.452381
0
react-lib
733
2023-10-08T09:43:12.599052
GPL-3.0
false
fa54f942897c0a625ad323675a932a49
from typing import Any\n\nfrom django.contrib.admin.helpers import InlineAdminForm\nfrom django.template.base import Parser, Token\nfrom django.template.context import Context, RequestContext\n\nfrom .base import InclusionAdminNode\n\nregister: Any\n\ndef prepopulated_fields_js(context: RequestContext) -> RequestContext: ...\ndef prepopulated_fields_js_tag(parser: Parser, token: Token) -> InclusionAdminNode: ...\ndef submit_row(context: RequestContext) -> Context: ...\ndef submit_row_tag(parser: Parser, token: Token) -> InclusionAdminNode: ...\ndef change_form_object_tools_tag(parser: Parser, token: Token) -> InclusionAdminNode: ...\ndef cell_count(inline_admin_form: InlineAdminForm) -> int: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\templatetags\admin_modify.pyi
admin_modify.pyi
Other
690
0.85
0.375
0
python-kit
224
2025-01-15T11:48:36.595439
GPL-3.0
false
2dde983e32b7a8330cf091a1f6403d07
from typing import Any\n\nregister: Any\n\ndef static(path: str) -> str: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\templatetags\admin_static.pyi
admin_static.pyi
Other
73
0.65
0.2
0
node-utils
203
2024-05-28T13:54:18.852187
MIT
false
30ba1b32ffed07d7b0bba1074d08a324
from typing import Any, Dict, Optional, Union\nfrom uuid import UUID\n\nfrom django.db.models.options import Options\nfrom django.template.context import RequestContext\nfrom django.utils.safestring import SafeText\n\nregister: Any\n\ndef admin_urlname(value: Options, arg: SafeText) -> str: ...\ndef admin_urlquote(value: Union[int, str, UUID]) -> Union[int, str, UUID]: ...\ndef add_preserved_filters(\n context: Union[Dict[str, Union[Options, str]], RequestContext],\n url: str,\n popup: bool = ...,\n to_field: Optional[str] = ...,\n) -> str: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\templatetags\admin_urls.pyi
admin_urls.pyi
Other
547
0.85
0.176471
0
vue-tools
471
2023-12-30T20:20:33.882907
MIT
false
79e74e9b466d26a8735fad4fb948b523
from typing import Any, Callable, Dict, List\n\nfrom django.template.base import Parser, Token\nfrom django.template.context import Context\nfrom django.template.library import InclusionNode\nfrom django.utils.safestring import SafeText\n\nclass InclusionAdminNode(InclusionNode):\n args: List[Any]\n func: Callable\n kwargs: Dict[Any, Any]\n takes_context: bool\n template_name: str = ...\n def __init__(\n self, parser: Parser, token: Token, func: Callable, template_name: str, takes_context: bool = ...\n ) -> None: ...\n def render(self, context: Context) -> SafeText: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\templatetags\base.pyi
base.pyi
Other
592
0.85
0.176471
0
awesome-app
727
2025-03-02T03:57:40.061321
BSD-3-Clause
false
f2a79f848d34b4f35ad72b186c277612
from typing import Any, Optional\n\nfrom django import template\nfrom django.template.base import Parser, Token\nfrom django.template.context import Context\n\nregister: Any\n\nclass AdminLogNode(template.Node):\n limit: str\n user: str\n varname: str\n def __init__(self, limit: str, varname: str, user: Optional[str]) -> None: ...\n def render(self, context: Context) -> str: ...\n\ndef get_admin_log(parser: Parser, token: Token) -> AdminLogNode: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\templatetags\log.pyi
log.pyi
Other
454
0.85
0.25
0
vue-tools
18
2023-09-16T17:58:46.693250
MIT
false
963ea1b105eaf964634b4a28f09f5f30
from typing import Any\n\nfrom django.contrib.admin.options import ModelAdmin\nfrom django.core.handlers.wsgi import WSGIRequest\nfrom django.views.generic.list import BaseListView\n\nclass AutocompleteJsonView(BaseListView):\n model_admin: ModelAdmin = ...\n term: Any = ...\n def has_perm(self, request: WSGIRequest, obj: None = ...) -> bool: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\views\autocomplete.pyi
autocomplete.pyi
Other
349
0.85
0.2
0
react-lib
134
2025-01-08T17:32:56.513072
BSD-3-Clause
false
031ea8122b840173075f353d69677cdf
from typing import Callable, TypeVar, overload\n\n_C = TypeVar("_C", bound=Callable)\n@overload\ndef staff_member_required(view_func: _C = ..., redirect_field_name: str = ..., login_url: str = ...) -> _C: ...\n@overload\ndef staff_member_required(view_func: None = ..., redirect_field_name: str = ..., login_url: str = ...) -> Callable: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\views\decorators.pyi
decorators.pyi
Other
335
0.85
0.285714
0
vue-tools
650
2025-02-11T13:02:35.466475
GPL-3.0
false
7af9951e7641c3f4455c471cf3128cd9
from collections import OrderedDict\nfrom typing import Any, Callable, Dict, List, Optional, Tuple, Type, Union\n\nfrom django.contrib.admin.filters import ListFilter, SimpleListFilter\nfrom django.contrib.admin.options import ( # noqa: F401\n ModelAdmin,\n IS_POPUP_VAR as IS_POPUP_VAR,\n TO_FIELD_VAR as TO_FIELD_VAR,\n)\nfrom django.core.handlers.wsgi import WSGIRequest\nfrom django.db.models.base import Model\nfrom django.db.models.expressions import Combinable, CombinedExpression, OrderBy\nfrom django.db.models.query import QuerySet\n\nfrom django.db.models.options import Options\nfrom django.forms.formsets import BaseFormSet\n\nALL_VAR: str\nORDER_VAR: str\nORDER_TYPE_VAR: str\nPAGE_VAR: str\nSEARCH_VAR: str\nERROR_FLAG: str\nIGNORED_PARAMS: Any\n\nclass ChangeList:\n model: Type[Model] = ...\n opts: Options = ...\n lookup_opts: Options = ...\n root_queryset: QuerySet = ...\n list_display: List[str] = ...\n list_display_links: List[str] = ...\n list_filter: Tuple = ...\n date_hierarchy: None = ...\n search_fields: Tuple = ...\n list_select_related: bool = ...\n list_per_page: int = ...\n list_max_show_all: int = ...\n model_admin: ModelAdmin = ...\n preserved_filters: str = ...\n sortable_by: Tuple[str] = ...\n page_num: int = ...\n show_all: bool = ...\n is_popup: bool = ...\n to_field: None = ...\n params: Dict[Any, Any] = ...\n list_editable: Tuple = ...\n query: str = ...\n queryset: Any = ...\n title: Any = ...\n pk_attname: Any = ...\n formset: Optional[BaseFormSet]\n def __init__(\n self,\n request: WSGIRequest,\n model: Type[Model],\n list_display: Union[List[Union[Callable, str]], Tuple[str]],\n list_display_links: Optional[Union[List[Callable], List[str], Tuple[str]]],\n list_filter: Union[List[Type[SimpleListFilter]], List[str], Tuple],\n date_hierarchy: Optional[str],\n search_fields: Union[List[str], Tuple],\n list_select_related: Union[Tuple, bool],\n list_per_page: int,\n list_max_show_all: int,\n list_editable: Union[List[str], Tuple],\n model_admin: ModelAdmin,\n sortable_by: Union[List[Callable], List[str], Tuple],\n ) -> None: ...\n def get_filters_params(self, params: None = ...) -> Dict[str, str]: ...\n def get_filters(self, request: WSGIRequest) -> Tuple[List[ListFilter], bool, Dict[str, Union[bool, str]], bool]: ...\n def get_query_string(\n self, new_params: Optional[Dict[str, None]] = ..., remove: Optional[List[str]] = ...\n ) -> str: ...\n result_count: Any = ...\n show_full_result_count: Any = ...\n show_admin_actions: Any = ...\n full_result_count: Any = ...\n result_list: Any = ...\n can_show_all: Any = ...\n multi_page: Any = ...\n paginator: Any = ...\n def get_results(self, request: WSGIRequest) -> None: ...\n def get_ordering_field(self, field_name: Union[Callable, str]) -> Optional[Union[CombinedExpression, str]]: ...\n def get_ordering(self, request: WSGIRequest, queryset: QuerySet) -> List[Union[OrderBy, Combinable, str]]: ...\n def get_ordering_field_columns(self) -> OrderedDict: ...\n def get_queryset(self, request: WSGIRequest) -> QuerySet: ...\n def apply_select_related(self, qs: QuerySet) -> QuerySet: ...\n def has_related_field_in_list_display(self) -> bool: ...\n def url_for_result(self, result: Model) -> str: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admin\views\main.pyi
main.pyi
Other
3,390
0.95
0.146067
0
react-lib
854
2024-09-11T08:19:19.591556
BSD-3-Clause
false
91125a2dc12648a94006ffa6c58ddfa2
from typing import Any, Callable, Dict, Optional, Tuple\n\nfrom django.core.handlers.wsgi import WSGIRequest\nfrom django.http.response import HttpResponse\nfrom django.utils.deprecation import MiddlewareMixin\n\nclass XViewMiddleware(MiddlewareMixin):\n def process_view(\n self, request: WSGIRequest, view_func: Callable, view_args: Tuple, view_kwargs: Dict[Any, Any]\n ) -> Optional[HttpResponse]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admindocs\middleware.pyi
middleware.pyi
Other
409
0.85
0.2
0
vue-tools
668
2024-04-01T12:37:11.611798
BSD-3-Clause
false
dc99cbcec648750caacdecb8e686e131
from typing import Any, List\n\nurlpatterns: List[Any] = ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admindocs\urls.pyi
urls.pyi
Other
59
0.65
0
0
react-lib
391
2023-10-14T13:43:54.849219
GPL-3.0
false
72baef07657af40bbb9421362b0c67cd
from typing import Any, Callable, Optional\n\ndocutils_is_available: bool\n\ndef get_view_name(view_func: Callable) -> str: ...\ndef trim_docstring(docstring: Any): ...\ndef parse_docstring(docstring: Any): ...\ndef parse_rst(text: Any, default_reference_context: Any, thing_being_parsed: Optional[Any] = ...): ...\n\nROLES: Any\n\ndef create_reference_role(rolename: Any, urlbase: Any): ...\ndef default_reference_role(\n name: Any,\n rawtext: Any,\n text: Any,\n lineno: Any,\n inliner: Any,\n options: Optional[Any] = ...,\n content: Optional[Any] = ...,\n): ...\n\nnamed_group_matcher: Any\nunnamed_group_matcher: Any\n\ndef replace_named_groups(pattern: str) -> str: ...\ndef replace_unnamed_groups(pattern: str) -> str: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admindocs\utils.pyi
utils.pyi
Other
725
0.85
0.296296
0
awesome-app
559
2023-10-20T10:46:50.837716
GPL-3.0
false
7c450fff266a95b8242797d6c02f235c
from typing import Any, Optional, Union\n\nfrom django.db.models.fields import Field\nfrom django.views.generic import TemplateView\n\nMODEL_METHODS_EXCLUDE: Any\n\nclass BaseAdminDocsView(TemplateView): ...\nclass BookmarkletsView(BaseAdminDocsView): ...\nclass TemplateTagIndexView(BaseAdminDocsView): ...\nclass TemplateFilterIndexView(BaseAdminDocsView): ...\nclass ViewIndexView(BaseAdminDocsView): ...\nclass ViewDetailView(BaseAdminDocsView): ...\nclass ModelIndexView(BaseAdminDocsView): ...\nclass ModelDetailView(BaseAdminDocsView): ...\nclass TemplateDetailView(BaseAdminDocsView): ...\n\ndef get_return_data_type(func_name: Any): ...\ndef get_readable_field_data_type(field: Union[Field, str]) -> str: ...\ndef extract_views_from_urlpatterns(urlpatterns: Any, base: str = ..., namespace: Optional[Any] = ...): ...\ndef simplify_regex(pattern: str) -> str: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\admindocs\views.pyi
views.pyi
Other
852
0.85
0.619048
0
python-kit
219
2023-10-10T15:33:36.334424
Apache-2.0
false
697ad021370ac52197b520bd74ea0ba4
from typing import Any\n\nfrom django.core.handlers.wsgi import WSGIRequest\nfrom django.http.response import HttpResponse\n\nfrom django.contrib import admin\n\ncsrf_protect_m: Any\nsensitive_post_parameters_m: Any\n\nclass GroupAdmin(admin.ModelAdmin): ...\n\nclass UserAdmin(admin.ModelAdmin):\n change_user_password_template: Any = ...\n add_fieldsets: Any = ...\n add_form: Any = ...\n change_password_form: Any = ...\n def user_change_password(self, request: WSGIRequest, id: str, form_url: str = ...) -> HttpResponse: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\admin.pyi
admin.pyi
Other
527
0.85
0.166667
0
node-utils
687
2024-12-03T02:12:53.262551
Apache-2.0
false
f0959ade16886843a4a378dc2cbe250f
from django.apps import AppConfig\n\nclass AuthConfig(AppConfig): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\apps.pyi
apps.pyi
Other
68
0.65
0.333333
0
node-utils
165
2023-08-10T12:16:32.991628
GPL-3.0
false
a86490ae88c34d50488f4d60272314bf
from typing import Any, Optional, Set, Union\n\nfrom django.contrib.auth.base_user import AbstractBaseUser\nfrom django.contrib.auth.models import AnonymousUser, User, Permission\n\nfrom django.db.models.base import Model\n\n_AnyUser = Union[Model, AnonymousUser]\n\nUserModel: Any\n\nclass BaseBackend:\n def authenticate(\n self, request: Any, username: Optional[str] = ..., password: Optional[str] = ..., **kwargs: Any\n ) -> Optional[AbstractBaseUser]: ...\n def get_user(self, user_id: int) -> Optional[AbstractBaseUser]: ...\n def get_user_permissions(self, user_obj: _AnyUser, obj: Optional[Model] = ...) -> Set[str]: ...\n def get_group_permissions(self, user_obj: _AnyUser, obj: Optional[Model] = ...) -> Set[str]: ...\n def get_all_permissions(self, user_obj: _AnyUser, obj: Optional[Model] = ...) -> Set[str]: ...\n def has_perm(self, user_obj: _AnyUser, perm: str, obj: Optional[Model] = ...) -> bool: ...\n\nclass ModelBackend(BaseBackend):\n def has_module_perms(self, user_obj: _AnyUser, app_label: str) -> bool: ...\n def user_can_authenticate(self, user: Optional[_AnyUser]) -> bool: ...\n def with_perm(\n self,\n perm: Union[str, Permission],\n is_active: bool = ...,\n include_superusers: bool = ...,\n obj: Optional[Model] = ...,\n ): ...\n\nclass AllowAllUsersModelBackend(ModelBackend): ...\n\nclass RemoteUserBackend(ModelBackend):\n create_unknown_user: bool = ...\n def clean_username(self, username: str) -> str: ...\n def configure_user(self, user: User) -> User: ...\n\nclass AllowAllUsersRemoteUserBackend(RemoteUserBackend): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\backends.pyi
backends.pyi
Other
1,605
0.85
0.4
0
vue-tools
940
2023-08-15T11:22:10.525476
Apache-2.0
false
740d6a266e7083fc018db31c9c797bdc
import sys\nfrom typing import Any, Optional, Tuple, List, overload, TypeVar\n\nfrom django.db.models.base import Model\n\nfrom django.db import models\n\nif sys.version_info < (3, 8):\n from typing_extensions import Literal\nelse:\n from typing import Literal\n\n_T = TypeVar("_T", bound=Model)\n\nclass BaseUserManager(models.Manager[_T]):\n @classmethod\n def normalize_email(cls, email: Optional[str]) -> str: ...\n def make_random_password(self, length: int = ..., allowed_chars: str = ...) -> str: ...\n def get_by_natural_key(self, username: Optional[str]) -> _T: ...\n\nclass AbstractBaseUser(models.Model):\n REQUIRED_FIELDS: List[str] = ...\n\n password = models.CharField(max_length=128)\n last_login = models.DateTimeField(blank=True, null=True)\n def get_username(self) -> str: ...\n def natural_key(self) -> Tuple[str]: ...\n @property\n def is_anonymous(self) -> Literal[False]: ...\n @property\n def is_authenticated(self) -> Literal[True]: ...\n def set_password(self, raw_password: Optional[str]) -> None: ...\n def check_password(self, raw_password: str) -> bool: ...\n def set_unusable_password(self) -> None: ...\n def has_usable_password(self) -> bool: ...\n def get_session_auth_hash(self) -> str: ...\n @classmethod\n def get_email_field_name(cls) -> str: ...\n @classmethod\n @overload\n def normalize_username(cls, username: str) -> str: ...\n @classmethod\n @overload\n def normalize_username(cls, username: Any) -> Any: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\base_user.pyi
base_user.pyi
Other
1,493
0.85
0.409091
0
vue-tools
411
2023-12-16T14:10:09.909933
BSD-3-Clause
false
eac5009e1c636cc9e2af4659a6227df2
from typing import Any, List, Iterable, Optional\n\nfrom django.core.checks.messages import CheckMessage\n\nfrom django.apps.config import AppConfig\n\ndef check_user_model(app_configs: Optional[Iterable[AppConfig]] = ..., **kwargs: Any) -> List[CheckMessage]: ...\ndef check_models_permissions(app_configs: Optional[Iterable[AppConfig]] = ..., **kwargs: Any) -> List[Any]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\checks.pyi
checks.pyi
Other
371
0.85
0.25
0
node-utils
663
2023-10-09T03:56:09.517397
BSD-3-Clause
false
56f572f3219a9b0d1f1ab790db3fcb37
from typing import Any, Dict\n\nfrom django.http.request import HttpRequest\n\nclass PermLookupDict:\n app_label: str\n user: Any\n def __init__(self, user: Any, app_label: str) -> None: ...\n def __getitem__(self, perm_name: str) -> bool: ...\n def __iter__(self) -> Any: ...\n def __bool__(self) -> bool: ...\n\nclass PermWrapper:\n user: Any = ...\n def __init__(self, user: Any) -> None: ...\n def __getitem__(self, app_label: str) -> PermLookupDict: ...\n def __iter__(self) -> Any: ...\n def __contains__(self, perm_name: Any) -> bool: ...\n\ndef auth(request: HttpRequest) -> Dict[str, Any]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\context_processors.pyi
context_processors.pyi
Other
617
0.85
0.55
0
vue-tools
105
2023-07-30T10:43:40.292663
Apache-2.0
false
328740a1bdd66ee913d06aa7900607be
from typing import Callable, List, Optional, Set, Union, TypeVar, overload\n\nfrom django.contrib.auth import REDIRECT_FIELD_NAME as REDIRECT_FIELD_NAME # noqa: F401\nfrom django.http.response import HttpResponseBase\n\nfrom django.contrib.auth.models import AbstractUser\n\n_VIEW = TypeVar("_VIEW", bound=Callable[..., HttpResponseBase])\n\ndef user_passes_test(\n test_func: Callable[[AbstractUser], bool], login_url: Optional[str] = ..., redirect_field_name: str = ...\n) -> Callable[[_VIEW], _VIEW]: ...\n\n# There are two ways of calling @login_required: @with(arguments) and @bare\n@overload\ndef login_required(redirect_field_name: str = ..., login_url: Optional[str] = ...) -> Callable[[_VIEW], _VIEW]: ...\n@overload\ndef login_required(function: _VIEW, redirect_field_name: str = ..., login_url: Optional[str] = ...) -> _VIEW: ...\ndef permission_required(\n perm: Union[List[str], Set[str], str], login_url: None = ..., raise_exception: bool = ...\n) -> Callable[[_VIEW], _VIEW]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\decorators.pyi
decorators.pyi
Other
982
0.95
0.238095
0.0625
python-kit
383
2023-11-20T06:44:25.890308
GPL-3.0
false
77c1b8b82282e6bea5e9c5183b18032d
from typing import Any, Dict, Iterator, Optional\n\nfrom django.contrib.auth.base_user import AbstractBaseUser\nfrom django.contrib.auth.models import AbstractUser, User\nfrom django.contrib.auth.tokens import PasswordResetTokenGenerator\nfrom django.core.exceptions import ValidationError\nfrom django.core.handlers.wsgi import WSGIRequest\n\nfrom django import forms\n\nUserModel: Any\n\nclass ReadOnlyPasswordHashWidget(forms.Widget):\n template_name: str = ...\n\nclass ReadOnlyPasswordHashField(forms.Field):\n def __init__(self, *args: Any, **kwargs: Any) -> None: ...\n\nclass UsernameField(forms.CharField): ...\n\nclass UserCreationForm(forms.ModelForm):\n error_messages: Any = ...\n password1: Any = ...\n password2: Any = ...\n def __init__(self, *args: Any, **kwargs: Any) -> None: ...\n def clean_password2(self) -> str: ...\n\nclass UserChangeForm(forms.ModelForm):\n password: Any = ...\n def __init__(self, *args: Any, **kwargs: Any) -> None: ...\n def clean_password(self) -> str: ...\n\nclass AuthenticationForm(forms.Form):\n username: Any = ...\n password: Any = ...\n error_messages: Any = ...\n request: WSGIRequest = ...\n user_cache: None = ...\n username_field: Any = ...\n def __init__(self, request: Any = ..., *args: Any, **kwargs: Any) -> None: ...\n def confirm_login_allowed(self, user: AbstractBaseUser) -> None: ...\n def get_user(self) -> User: ...\n def get_invalid_login_error(self) -> ValidationError: ...\n\nclass PasswordResetForm(forms.Form):\n email: Any = ...\n def send_mail(\n self,\n subject_template_name: str,\n email_template_name: str,\n context: Dict[str, Any],\n from_email: Optional[str],\n to_email: str,\n html_email_template_name: Optional[str] = ...,\n ) -> None: ...\n def get_users(self, email: str) -> Iterator[Any]: ...\n def save(\n self,\n domain_override: Optional[str] = ...,\n subject_template_name: str = ...,\n email_template_name: str = ...,\n use_https: bool = ...,\n token_generator: PasswordResetTokenGenerator = ...,\n from_email: Optional[str] = ...,\n request: Optional[WSGIRequest] = ...,\n html_email_template_name: Optional[str] = ...,\n extra_email_context: Optional[Dict[str, str]] = ...,\n ) -> None: ...\n\nclass SetPasswordForm(forms.Form):\n error_messages: Any = ...\n new_password1: Any = ...\n new_password2: Any = ...\n user: User = ...\n def __init__(self, user: Optional[AbstractBaseUser], *args: Any, **kwargs: Any) -> None: ...\n def clean_new_password2(self) -> str: ...\n def save(self, commit: bool = ...) -> AbstractBaseUser: ...\n\nclass PasswordChangeForm(SetPasswordForm):\n old_password: Any = ...\n def clean_old_password(self) -> str: ...\n\nclass AdminPasswordChangeForm(forms.Form):\n error_messages: Any = ...\n required_css_class: str = ...\n password1: Any = ...\n password2: Any = ...\n user: User = ...\n def __init__(self, user: AbstractUser, *args: Any, **kwargs: Any) -> None: ...\n def clean_password2(self) -> str: ...\n def save(self, commit: bool = ...) -> AbstractUser: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\forms.pyi
forms.pyi
Other
3,149
0.85
0.318681
0
react-lib
111
2024-11-18T03:22:22.072016
BSD-3-Clause
false
b9196879e3a9f8eaa6fb8c1725425109
from typing import Any, Callable, Dict, List, Optional\n\nUNUSABLE_PASSWORD_PREFIX: str\nUNUSABLE_PASSWORD_SUFFIX_LENGTH: int\n\ndef is_password_usable(encoded: Optional[str]) -> bool: ...\ndef check_password(\n password: Optional[str], encoded: str, setter: Optional[Callable] = ..., preferred: str = ...\n) -> bool: ...\ndef make_password(password: Optional[str], salt: Optional[str] = ..., hasher: str = ...) -> str: ...\ndef get_hashers() -> List[BasePasswordHasher]: ...\ndef get_hashers_by_algorithm() -> Dict[str, BasePasswordHasher]: ...\ndef reset_hashers(**kwargs: Any) -> None: ...\ndef get_hasher(algorithm: str = ...) -> BasePasswordHasher: ...\ndef identify_hasher(encoded: str) -> BasePasswordHasher: ...\ndef mask_hash(hash: str, show: int = ..., char: str = ...) -> str: ...\n\nclass BasePasswordHasher:\n algorithm: str = ...\n library: str = ...\n rounds: int = ...\n time_cost: int = ...\n memory_cost: int = ...\n parallelism: int = ...\n digest: Any = ...\n iterations: int = ...\n def salt(self) -> str: ...\n def verify(self, password: str, encoded: str) -> bool: ...\n def encode(self, password: str, salt: str) -> Any: ...\n def safe_summary(self, encoded: str) -> Any: ...\n def must_update(self, encoded: str) -> bool: ...\n def harden_runtime(self, password: str, encoded: str) -> None: ...\n\nclass PBKDF2PasswordHasher(BasePasswordHasher):\n def encode(self, password: str, salt: str, iterations: Optional[int] = ...) -> str: ...\n\nclass PBKDF2SHA1PasswordHasher(PBKDF2PasswordHasher): ...\nclass Argon2PasswordHasher(BasePasswordHasher): ...\nclass BCryptSHA256PasswordHasher(BasePasswordHasher): ...\nclass BCryptPasswordHasher(BCryptSHA256PasswordHasher): ...\nclass SHA1PasswordHasher(BasePasswordHasher): ...\nclass MD5PasswordHasher(BasePasswordHasher): ...\nclass UnsaltedSHA1PasswordHasher(BasePasswordHasher): ...\nclass UnsaltedMD5PasswordHasher(BasePasswordHasher): ...\nclass CryptPasswordHasher(BasePasswordHasher): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\hashers.pyi
hashers.pyi
Other
1,969
0.85
0.6
0
react-lib
307
2023-07-11T11:30:32.036637
MIT
false
9161628c4bffc96e27e793e91c88e02f
from typing import Union\n\nfrom django.contrib.auth.models import AnonymousUser, User\nfrom django.core.handlers.wsgi import WSGIRequest\nfrom django.http.request import HttpRequest\nfrom django.utils.deprecation import MiddlewareMixin\n\ndef get_user(request: WSGIRequest) -> Union[AnonymousUser, User]: ...\n\nclass AuthenticationMiddleware(MiddlewareMixin):\n def process_request(self, request: HttpRequest) -> None: ...\n\nclass RemoteUserMiddleware(MiddlewareMixin):\n header: str = ...\n force_logout_if_no_header: bool = ...\n def process_request(self, request: HttpRequest) -> None: ...\n def clean_username(self, username: str, request: HttpRequest) -> str: ...\n\nclass PersistentRemoteUserMiddleware(RemoteUserMiddleware):\n force_logout_if_no_header: bool = ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\middleware.pyi
middleware.pyi
Other
774
0.85
0.35
0
python-kit
24
2024-06-14T18:28:46.623942
BSD-3-Clause
false
b586ee419b774644519094a82c58d0eb
from typing import Any, Callable, List, Optional\n\nfrom django import http\nfrom django.http.response import HttpResponse, HttpResponseRedirect\n\nclass AccessMixin:\n login_url: Any = ...\n permission_denied_message: str = ...\n raise_exception: bool = ...\n redirect_field_name: Any = ...\n def get_login_url(self) -> str: ...\n def get_permission_denied_message(self) -> str: ...\n def get_redirect_field_name(self) -> str: ...\n def handle_no_permission(self) -> HttpResponseRedirect: ...\n\nclass LoginRequiredMixin(AccessMixin):\n def dispatch(self, request: http.HttpRequest, *args: Any, **kwargs: Any) -> HttpResponse: ...\n\nclass PermissionRequiredMixin(AccessMixin):\n permission_required: Any = ...\n def get_permission_required(self) -> List[str]: ...\n def has_permission(self) -> bool: ...\n def dispatch(self, request: http.HttpRequest, *args: Any, **kwargs: Any) -> HttpResponse: ...\n\nclass UserPassesTestMixin(AccessMixin):\n def test_func(self) -> Optional[bool]: ...\n def get_test_func(self) -> Callable: ...\n def dispatch(self, request: http.HttpRequest, *args: Any, **kwargs: Any) -> HttpResponse: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\mixins.pyi
mixins.pyi
Other
1,150
0.85
0.535714
0
python-kit
19
2024-09-21T04:01:36.319448
BSD-3-Clause
false
510805f924fa1c15260a90743f010d48
import sys\nfrom typing import Any, Collection, Optional, Set, Tuple, Type, TypeVar, Union\n\nfrom django.contrib.auth.backends import ModelBackend\nfrom django.contrib.auth.base_user import AbstractBaseUser as AbstractBaseUser, BaseUserManager as BaseUserManager\nfrom django.contrib.auth.validators import UnicodeUsernameValidator\nfrom django.contrib.contenttypes.models import ContentType\nfrom django.db.models.base import Model\nfrom django.db.models.manager import EmptyManager\n\nfrom django.db import models\n\nif sys.version_info < (3, 8):\n from typing_extensions import Literal\nelse:\n from typing import Literal\n\n_AnyUser = Union[Model, "AnonymousUser"]\n\ndef update_last_login(sender: Type[AbstractBaseUser], user: AbstractBaseUser, **kwargs: Any) -> None: ...\n\nclass PermissionManager(models.Manager["Permission"]):\n def get_by_natural_key(self, codename: str, app_label: str, model: str) -> Permission: ...\n\nclass Permission(models.Model):\n content_type_id: int\n objects: PermissionManager\n\n name = models.CharField(max_length=255)\n content_type = models.ForeignKey(ContentType, on_delete=models.CASCADE)\n codename = models.CharField(max_length=100)\n def natural_key(self) -> Tuple[str, str, str]: ...\n\nclass GroupManager(models.Manager["Group"]):\n def get_by_natural_key(self, name: str) -> Group: ...\n\nclass Group(models.Model):\n objects: GroupManager\n\n name = models.CharField(max_length=150)\n permissions = models.ManyToManyField(Permission)\n def natural_key(self): ...\n\n_T = TypeVar("_T", bound=Model)\n\nclass UserManager(BaseUserManager[_T]):\n def create_user(\n self, username: str, email: Optional[str] = ..., password: Optional[str] = ..., **extra_fields: Any\n ) -> _T: ...\n def create_superuser(\n self, username: str, email: Optional[str], password: Optional[str], **extra_fields: Any\n ) -> _T: ...\n def with_perm(\n self,\n perm: Union[str, Permission],\n is_active: bool = ...,\n include_superusers: bool = ...,\n backend: Optional[Union[Type[ModelBackend], str]] = ...,\n obj: Optional[Model] = ...,\n ): ...\n\nclass PermissionsMixin(models.Model):\n is_superuser = models.BooleanField()\n groups = models.ManyToManyField(Group)\n user_permissions = models.ManyToManyField(Permission)\n def get_user_permissions(self, obj: Optional[_AnyUser] = ...) -> Set[str]: ...\n def get_group_permissions(self, obj: Optional[_AnyUser] = ...) -> Set[str]: ...\n def get_all_permissions(self, obj: Optional[_AnyUser] = ...) -> Set[str]: ...\n def has_perm(self, perm: str, obj: Optional[_AnyUser] = ...) -> bool: ...\n def has_perms(self, perm_list: Collection[str], obj: Optional[_AnyUser] = ...) -> bool: ...\n def has_module_perms(self, app_label: str) -> bool: ...\n\nclass AbstractUser(AbstractBaseUser, PermissionsMixin): # type: ignore\n username_validator: UnicodeUsernameValidator = ...\n\n username = models.CharField(max_length=150)\n first_name = models.CharField(max_length=30, blank=True)\n last_name = models.CharField(max_length=150, blank=True)\n email = models.EmailField(blank=True)\n is_staff = models.BooleanField()\n is_active = models.BooleanField()\n date_joined = models.DateTimeField()\n\n EMAIL_FIELD: str = ...\n USERNAME_FIELD: str = ...\n def get_full_name(self) -> str: ...\n def get_short_name(self) -> str: ...\n def email_user(self, subject: str, message: str, from_email: str = ..., **kwargs: Any) -> None: ...\n\nclass User(AbstractUser): ...\n\nclass AnonymousUser:\n id: Any = ...\n pk: Any = ...\n username: str = ...\n is_staff: bool = ...\n is_active: bool = ...\n is_superuser: bool = ...\n def save(self) -> Any: ...\n def delete(self) -> Any: ...\n def set_password(self, raw_password: str) -> Any: ...\n def check_password(self, raw_password: str) -> Any: ...\n @property\n def groups(self) -> EmptyManager: ...\n @property\n def user_permissions(self) -> EmptyManager: ...\n def get_user_permissions(self, obj: Optional[_AnyUser] = ...) -> Set[str]: ...\n def get_group_permissions(self, obj: Optional[_AnyUser] = ...) -> Set[Any]: ...\n def get_all_permissions(self, obj: Optional[_AnyUser] = ...) -> Set[str]: ...\n def has_perm(self, perm: str, obj: Optional[_AnyUser] = ...) -> bool: ...\n def has_perms(self, perm_list: Collection[str], obj: Optional[_AnyUser] = ...) -> bool: ...\n def has_module_perms(self, module: str) -> bool: ...\n @property\n def is_anonymous(self) -> Literal[True]: ...\n @property\n def is_authenticated(self) -> Literal[False]: ...\n def get_username(self) -> str: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\models.pyi
models.pyi
Other
4,641
0.95
0.358974
0
awesome-app
232
2024-03-02T08:43:06.550167
BSD-3-Clause
false
a76e9f6b3daef2fe0f0520aa3a674589
from pathlib import Path, PosixPath\nfrom typing import Any, List, Mapping, Optional, Protocol, Sequence, Set, Union\n\nfrom django.db.models.base import Model\n\n_UserModel = Model\n\nclass PasswordValidator(Protocol):\n def password_changed(self, password: str, user: Optional[_UserModel] = ...): ...\n\ndef get_default_password_validators() -> List[PasswordValidator]: ...\ndef get_password_validators(validator_config: Sequence[Mapping[str, Any]]) -> List[PasswordValidator]: ...\ndef validate_password(\n password: str, user: Optional[_UserModel] = ..., password_validators: Optional[Sequence[PasswordValidator]] = ...\n) -> None: ...\ndef password_changed(\n password: str, user: Optional[_UserModel] = ..., password_validators: Optional[Sequence[PasswordValidator]] = ...\n) -> None: ...\ndef password_validators_help_texts(password_validators: Optional[Sequence[PasswordValidator]] = ...) -> List[str]: ...\n\npassword_validators_help_text_html: Any\n\nclass MinimumLengthValidator:\n min_length: int = ...\n def __init__(self, min_length: int = ...) -> None: ...\n def validate(self, password: str, user: Optional[_UserModel] = ...) -> None: ...\n def get_help_text(self) -> str: ...\n\nclass UserAttributeSimilarityValidator:\n DEFAULT_USER_ATTRIBUTES: Sequence[str] = ...\n user_attributes: Sequence[str] = ...\n max_similarity: float = ...\n def __init__(self, user_attributes: Sequence[str] = ..., max_similarity: float = ...) -> None: ...\n def validate(self, password: str, user: Optional[_UserModel] = ...) -> None: ...\n def get_help_text(self) -> str: ...\n\nclass CommonPasswordValidator:\n DEFAULT_PASSWORD_LIST_PATH: Path = ...\n passwords: Set[str] = ...\n def __init__(self, password_list_path: Union[PosixPath, str] = ...) -> None: ...\n def validate(self, password: str, user: Optional[_UserModel] = ...) -> None: ...\n def get_help_text(self) -> str: ...\n\nclass NumericPasswordValidator:\n def validate(self, password: str, user: Optional[_UserModel] = ...) -> None: ...\n def get_help_text(self) -> str: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\password_validation.pyi
password_validation.pyi
Other
2,052
0.85
0.478261
0
vue-tools
992
2025-04-06T12:21:25.412376
Apache-2.0
false
05b17ae05269f223ed364319748052e1
from django.dispatch.dispatcher import Signal\n\nuser_logged_in: Signal\nuser_login_failed: Signal\nuser_logged_out: Signal\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\signals.pyi
signals.pyi
Other
120
0.85
0
0
vue-tools
583
2023-10-20T09:31:53.329226
BSD-3-Clause
false
99606e3f79b02ab220856978ba01c647
from typing import Any, Optional\n\nfrom django.contrib.auth.base_user import AbstractBaseUser\n\nclass PasswordResetTokenGenerator:\n key_salt: str = ...\n secret: Any = ...\n def make_token(self, user: AbstractBaseUser) -> str: ...\n def check_token(self, user: Optional[AbstractBaseUser], token: Optional[str]) -> bool: ...\n\ndefault_token_generator: Any\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\tokens.pyi
tokens.pyi
Other
361
0.85
0.272727
0
react-lib
732
2023-07-14T03:17:18.646931
GPL-3.0
false
d0204a65f6b37bcd4ef9a2f2665fa756
from typing import Any, List\n\nurlpatterns: List[Any] = ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\urls.pyi
urls.pyi
Other
59
0.65
0
0
vue-tools
557
2024-10-08T07:41:34.277462
BSD-3-Clause
false
72baef07657af40bbb9421362b0c67cd
from django.core import validators\n\nclass ASCIIUsernameValidator(validators.RegexValidator): ...\nclass UnicodeUsernameValidator(validators.RegexValidator): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\validators.pyi
validators.pyi
Other
160
0.85
0.5
0
vue-tools
624
2023-12-07T17:24:46.077874
Apache-2.0
false
ae7af9969b69d3602d705c4886888bea
from typing import Any, Optional, Set\n\nfrom django.contrib.auth.base_user import AbstractBaseUser\nfrom django.core.handlers.wsgi import WSGIRequest\nfrom django.http.request import HttpRequest\nfrom django.http.response import HttpResponseRedirect\nfrom django.template.response import TemplateResponse\nfrom django.views.generic.base import TemplateView\nfrom django.views.generic.edit import FormView\n\nUserModel: Any\n\nclass SuccessURLAllowedHostsMixin:\n success_url_allowed_hosts: Any = ...\n def get_success_url_allowed_hosts(self) -> Set[str]: ...\n\nclass LoginView(SuccessURLAllowedHostsMixin, FormView):\n authentication_form: Any = ...\n redirect_field_name: Any = ...\n redirect_authenticated_user: bool = ...\n extra_context: Any = ...\n def get_redirect_url(self) -> str: ...\n\nclass LogoutView(SuccessURLAllowedHostsMixin, TemplateView):\n next_page: Any = ...\n redirect_field_name: Any = ...\n extra_context: Any = ...\n def post(self, request: WSGIRequest, *args: Any, **kwargs: Any) -> TemplateResponse: ...\n def get_next_page(self) -> Optional[str]: ...\n\ndef logout_then_login(request: HttpRequest, login_url: Optional[str] = ...) -> HttpResponseRedirect: ...\ndef redirect_to_login(\n next: str, login_url: Optional[str] = ..., redirect_field_name: Optional[str] = ...\n) -> HttpResponseRedirect: ...\n\nclass PasswordContextMixin:\n extra_context: Any = ...\n def get_context_data(self, **kwargs: Any): ...\n\nclass PasswordResetView(PasswordContextMixin, FormView):\n email_template_name: str = ...\n extra_email_context: Any = ...\n from_email: Any = ...\n html_email_template_name: Any = ...\n subject_template_name: str = ...\n title: Any = ...\n token_generator: Any = ...\n\nINTERNAL_RESET_URL_TOKEN: str\nINTERNAL_RESET_SESSION_TOKEN: str\n\nclass PasswordResetDoneView(PasswordContextMixin, TemplateView):\n title: Any = ...\n\nclass PasswordResetConfirmView(PasswordContextMixin, FormView):\n post_reset_login: bool = ...\n post_reset_login_backend: Any = ...\n reset_url_token: str = ...\n title: Any = ...\n token_generator: Any = ...\n validlink: bool = ...\n user: Any = ...\n def get_user(self, uidb64: str) -> Optional[AbstractBaseUser]: ...\n\nclass PasswordResetCompleteView(PasswordContextMixin, TemplateView):\n title: Any = ...\n\nclass PasswordChangeView(PasswordContextMixin, FormView):\n title: Any = ...\n\nclass PasswordChangeDoneView(PasswordContextMixin, TemplateView):\n title: Any = ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\views.pyi
views.pyi
Other
2,478
0.85
0.25
0
vue-tools
824
2024-07-30T20:06:59.650082
MIT
false
5269dd6d4147c07b2d9e73cc985390a1
from typing import Any, List, Optional, Type, Union\n\nfrom django.contrib.auth.backends import ModelBackend\nfrom django.contrib.auth.base_user import AbstractBaseUser\nfrom django.contrib.auth.models import AbstractUser, AnonymousUser\nfrom django.core.handlers.wsgi import WSGIRequest\nfrom django.db.models.base import Model\nfrom django.db.models.options import Options\nfrom django.http.request import HttpRequest\n\nfrom .signals import (\n user_logged_in as user_logged_in,\n user_logged_out as user_logged_out,\n user_login_failed as user_login_failed,\n)\n\nSESSION_KEY: str\nBACKEND_SESSION_KEY: str\nHASH_SESSION_KEY: str\nREDIRECT_FIELD_NAME: str\n\ndef load_backend(path: str) -> ModelBackend: ...\ndef get_backends() -> List[ModelBackend]: ...\ndef authenticate(request: Any = ..., **credentials: Any) -> Optional[AbstractBaseUser]: ...\ndef login(\n request: HttpRequest, user: AbstractBaseUser, backend: Optional[Union[Type[ModelBackend], str]] = ...\n) -> None: ...\ndef logout(request: HttpRequest) -> None: ...\ndef get_user_model() -> Type[Model]: ...\ndef get_user(request: HttpRequest) -> Union[AbstractBaseUser, AnonymousUser]: ...\ndef get_permission_codename(action: str, opts: Options) -> str: ...\ndef update_session_auth_hash(request: WSGIRequest, user: AbstractUser) -> None: ...\n\ndefault_app_config: str\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\__init__.pyi
__init__.pyi
Other
1,316
0.85
0.264706
0
python-kit
152
2025-05-02T09:12:08.258293
MIT
false
131cb33ed3e7ad91bb35171a961d0294
from typing import Any, Dict\n\nUserModel: Any\n\ndef check_password(environ: Dict[Any, Any], username: str, password: str) -> Any: ...\ndef groups_for_user(environ: Dict[Any, Any], username: str) -> Any: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\handlers\modwsgi.pyi
modwsgi.pyi
Other
204
0.85
0.333333
0
node-utils
913
2023-10-04T14:45:05.938792
GPL-3.0
false
fb1960a90c06feff3be6bfea5b2f9602
from typing import Any\n\nfrom django.apps.config import AppConfig\nfrom django.apps.registry import Apps\n\ndef create_permissions(\n app_config: AppConfig,\n verbosity: int = ...,\n interactive: bool = ...,\n using: str = ...,\n apps: Apps = ...,\n **kwargs: Any\n) -> None: ...\ndef get_system_username() -> str: ...\ndef get_default_username(check_db: bool = ...) -> str: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\management\__init__.pyi
__init__.pyi
Other
384
0.85
0.2
0.076923
python-kit
406
2025-03-29T23:06:55.705558
GPL-3.0
false
7e8a3bc66ec498f040495f1b44563807
from typing import Any\n\nfrom django.core.management.base import BaseCommand\n\nUserModel: Any\n\nclass Command(BaseCommand): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\management\commands\changepassword.pyi
changepassword.pyi
Other
125
0.85
0.142857
0
python-kit
870
2025-01-12T08:59:07.004144
Apache-2.0
false
95507481e0b989be5563a39fe0c8e073
import getpass as getpass # noqa: F401\nfrom typing import Any\n\nfrom django.core.management.base import BaseCommand\n\nclass NotRunningInTTYException(Exception): ...\n\nclass Command(BaseCommand):\n stdin: Any\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\auth\management\commands\createsuperuser.pyi
createsuperuser.pyi
Other
208
0.95
0.222222
0
node-utils
837
2024-03-04T04:31:55.799000
MIT
false
55e6c937dca37dba66640febbe3568cb
from typing import Any, List, Type\n\nfrom django.contrib.admin.options import InlineModelAdmin\nfrom django.db.models.base import Model\n\nclass GenericInlineModelAdminChecks:\n def _check_exclude_of_parent_model(self, obj: GenericInlineModelAdmin, parent_model: Type[Model]) -> List[Any]: ...\n def _check_relation(self, obj: GenericInlineModelAdmin, parent_model: Type[Model]) -> List[Any]: ...\n\nclass GenericInlineModelAdmin(InlineModelAdmin):\n template: str = ...\n\nclass GenericStackedInline(GenericInlineModelAdmin): ...\nclass GenericTabularInline(GenericInlineModelAdmin): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\contenttypes\admin.pyi
admin.pyi
Other
586
0.85
0.428571
0
node-utils
16
2024-02-12T05:50:21.714865
GPL-3.0
false
73b0c7ad812b1625589ccaff5c3d9ab8
from django.apps import AppConfig\n\nclass ContentTypesConfig(AppConfig): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\contenttypes\apps.pyi
apps.pyi
Other
76
0.65
0.333333
0
node-utils
318
2024-02-04T16:46:35.588640
Apache-2.0
false
1d090d89f7c7839010484afcbd4001c1
from typing import Any, List, Iterable, Optional\n\nfrom django.apps.config import AppConfig\n\ndef check_generic_foreign_keys(app_configs: Optional[Iterable[AppConfig]] = ..., **kwargs: Any) -> List[Any]: ...\ndef check_model_name_lengths(app_configs: Optional[Iterable[AppConfig]] = ..., **kwargs: Any) -> List[Any]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\contenttypes\checks.pyi
checks.pyi
Other
318
0.85
0.333333
0
react-lib
244
2025-04-20T08:32:31.566109
GPL-3.0
false
c1edbf7ef82e4563dd22100a5e19bfe2
from typing import Any, Callable, Dict, List, Optional, Tuple, Type, Union\n\nfrom django.contrib.contenttypes.models import ContentType\nfrom django.core.checks.messages import Error\nfrom django.db.models.base import Model\nfrom django.db.models.expressions import Combinable\nfrom django.db.models.fields.mixins import FieldCacheMixin\nfrom django.db.models.fields.related import ForeignObject\nfrom django.db.models.fields.related_descriptors import ReverseManyToOneDescriptor\nfrom django.db.models.fields.reverse_related import ForeignObjectRel\nfrom django.db.models.query import QuerySet\nfrom django.db.models.query_utils import FilteredRelation, PathInfo\nfrom django.db.models.sql.where import WhereNode\n\nfrom django.db.models.fields import Field, PositiveIntegerField\n\nclass GenericForeignKey(FieldCacheMixin):\n # django-stubs implementation only fields\n _pyi_private_set_type: Union[Any, Combinable]\n _pyi_private_get_type: Any\n # attributes\n auto_created: bool = ...\n concrete: bool = ...\n editable: bool = ...\n hidden: bool = ...\n is_relation: bool = ...\n many_to_many: bool = ...\n many_to_one: bool = ...\n one_to_many: bool = ...\n one_to_one: bool = ...\n related_model: Any = ...\n remote_field: Any = ...\n ct_field: str = ...\n fk_field: str = ...\n for_concrete_model: bool = ...\n rel: None = ...\n column: None = ...\n def __init__(self, ct_field: str = ..., fk_field: str = ..., for_concrete_model: bool = ...) -> None: ...\n name: Any = ...\n model: Any = ...\n def contribute_to_class(self, cls: Type[Model], name: str, **kwargs: Any) -> None: ...\n def get_filter_kwargs_for_object(self, obj: Model) -> Dict[str, Optional[ContentType]]: ...\n def get_forward_related_filter(self, obj: Model) -> Dict[str, int]: ...\n def check(self, **kwargs: Any) -> List[Error]: ...\n def get_cache_name(self) -> str: ...\n def get_content_type(\n self, obj: Optional[Model] = ..., id: Optional[int] = ..., using: Optional[str] = ...\n ) -> ContentType: ...\n def get_prefetch_queryset(\n self, instances: Union[List[Model], QuerySet], queryset: Optional[QuerySet] = ...\n ) -> Tuple[List[Model], Callable, Callable, bool, str, bool]: ...\n def __get__(self, instance: Optional[Model], cls: Type[Model] = ...) -> Optional[Any]: ...\n def __set__(self, instance: Model, value: Optional[Any]) -> None: ...\n\nclass GenericRel(ForeignObjectRel):\n field: GenericRelation\n def __init__(\n self,\n field: GenericRelation,\n to: Union[Type[Model], str],\n related_name: Optional[str] = ...,\n related_query_name: Optional[str] = ...,\n limit_choices_to: Optional[Union[Dict[str, Any], Callable[[], Any]]] = ...,\n ) -> None: ...\n\nclass GenericRelation(ForeignObject):\n rel_class: Any = ...\n mti_inherited: bool = ...\n object_id_field_name: Any = ...\n content_type_field_name: Any = ...\n for_concrete_model: Any = ...\n to_fields: Any = ...\n def __init__(\n self,\n to: Union[Type[Model], str],\n object_id_field: str = ...,\n content_type_field: str = ...,\n for_concrete_model: bool = ...,\n related_query_name: Optional[str] = ...,\n limit_choices_to: Optional[Union[Dict[str, Any], Callable[[], Any]]] = ...,\n **kwargs: Any\n ) -> None: ...\n def resolve_related_fields(self) -> List[Tuple[PositiveIntegerField, Field]]: ...\n def get_path_info(self, filtered_relation: Optional[FilteredRelation] = ...) -> List[PathInfo]: ...\n def get_reverse_path_info(self, filtered_relation: None = ...) -> List[PathInfo]: ...\n def value_to_string(self, obj: Model) -> str: ...\n def get_content_type(self) -> ContentType: ...\n def get_extra_restriction(\n self, where_class: Type[WhereNode], alias: Optional[str], remote_alias: str\n ) -> WhereNode: ...\n def bulk_related_objects(self, objs: List[Model], using: str = ...) -> QuerySet: ...\n\nclass ReverseGenericManyToOneDescriptor(ReverseManyToOneDescriptor): ...\n\ndef create_generic_related_manager(superclass: Any, rel: Any): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\contenttypes\fields.pyi
fields.pyi
Other
4,097
0.95
0.252632
0.034091
vue-tools
704
2024-03-11T08:26:15.017350
Apache-2.0
false
29276175f29d85ed4beb00387e539941
from typing import Any, Optional\n\nfrom django.forms.models import BaseModelFormSet\n\nclass BaseGenericInlineFormSet(BaseModelFormSet):\n instance: Any = ...\n rel_name: Any = ...\n save_as_new: Any = ...\n def __init__(\n self,\n data: Optional[Any] = ...,\n files: Optional[Any] = ...,\n instance: Optional[Any] = ...,\n save_as_new: bool = ...,\n prefix: Optional[Any] = ...,\n queryset: Optional[Any] = ...,\n **kwargs: Any\n ) -> None: ...\n def initial_form_count(self): ...\n @classmethod\n def get_default_prefix(cls): ...\n def save_new(self, form: Any, commit: bool = ...): ...\n\ndef generic_inlineformset_factory(\n model: Any,\n form: Any = ...,\n formset: Any = ...,\n ct_field: str = ...,\n fk_field: str = ...,\n fields: Optional[Any] = ...,\n exclude: Optional[Any] = ...,\n extra: int = ...,\n can_order: bool = ...,\n can_delete: bool = ...,\n max_num: Optional[Any] = ...,\n formfield_callback: Optional[Any] = ...,\n validate_max: bool = ...,\n for_concrete_model: bool = ...,\n min_num: Optional[Any] = ...,\n validate_min: bool = ...,\n): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\contenttypes\forms.pyi
forms.pyi
Other
1,159
0.85
0.146341
0.026316
vue-tools
835
2024-08-19T03:35:38.068361
MIT
false
3836a40daa7975cd314c1fead156433c
from typing import Any, Dict, Optional, Tuple, Type, Union\n\nfrom django.db import models\nfrom django.db.models.base import Model\nfrom django.db.models.query import QuerySet\n\nclass ContentTypeManager(models.Manager["ContentType"]):\n def get_by_natural_key(self, app_label: str, model: str) -> ContentType: ...\n def get_for_model(self, model: Union[Type[Model], Model], for_concrete_model: bool = ...) -> ContentType: ...\n def get_for_models(self, *models: Any, for_concrete_models: bool = ...) -> Dict[Type[Model], ContentType]: ...\n def get_for_id(self, id: int) -> ContentType: ...\n def clear_cache(self) -> None: ...\n\nclass ContentType(models.Model):\n id: int\n app_label: models.CharField = ...\n model: models.CharField = ...\n objects: ContentTypeManager = ...\n @property\n def name(self) -> str: ...\n def model_class(self) -> Optional[Type[Model]]: ...\n def get_object_for_this_type(self, **kwargs: Any) -> Model: ...\n def get_all_objects_for_this_type(self, **kwargs: Any) -> QuerySet: ...\n def natural_key(self) -> Tuple[str, str]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\contenttypes\models.pyi
models.pyi
Other
1,085
0.85
0.5
0
react-lib
674
2024-09-23T21:12:22.148410
GPL-3.0
false
60af0a198f5204bbd6b2db9432b89cca
from typing import Union\n\nfrom django.http.request import HttpRequest\nfrom django.http.response import HttpResponseRedirect\n\ndef shortcut(\n request: HttpRequest, content_type_id: Union[int, str], object_id: Union[int, str]\n) -> HttpResponseRedirect: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\contenttypes\views.pyi
views.pyi
Other
257
0.85
0.125
0
vue-tools
56
2023-11-29T06:13:13.226924
Apache-2.0
false
432593753618057dbd3bb77daa936a23
from typing import Any, Dict, List, Optional, Tuple, Type\n\nfrom django.apps.config import AppConfig\nfrom django.apps.registry import Apps\nfrom django.contrib.contenttypes.models import ContentType\nfrom django.db import migrations\nfrom django.db.backends.sqlite3.schema import DatabaseSchemaEditor\nfrom django.db.migrations.migration import Migration\nfrom django.db.migrations.state import StateApps\nfrom django.db.models.base import Model\n\nclass RenameContentType(migrations.RunPython):\n app_label: Any = ...\n old_model: Any = ...\n new_model: Any = ...\n def __init__(self, app_label: str, old_model: str, new_model: str) -> None: ...\n def rename_forward(self, apps: StateApps, schema_editor: DatabaseSchemaEditor) -> None: ...\n def rename_backward(self, apps: StateApps, schema_editor: DatabaseSchemaEditor) -> None: ...\n\ndef inject_rename_contenttypes_operations(\n plan: List[Tuple[Migration, bool]] = ..., apps: StateApps = ..., using: str = ..., **kwargs: Any\n) -> None: ...\ndef get_contenttypes_and_models(\n app_config: AppConfig, using: str, ContentType: Type[ContentType]\n) -> Tuple[Dict[str, ContentType], Dict[str, Type[Model]]]: ...\ndef create_contenttypes(\n app_config: AppConfig,\n verbosity: int = ...,\n interactive: bool = ...,\n using: str = ...,\n apps: Apps = ...,\n **kwargs: Any\n) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\contenttypes\management\__init__.pyi
__init__.pyi
Other
1,350
0.85
0.212121
0.033333
react-lib
754
2025-02-11T07:51:42.748479
Apache-2.0
false
2c6aa315a558998f991b4a97dc62a167
from typing import Any, Dict, List\n\nfrom django.db.models.deletion import Collector\n\nfrom django.core.management import BaseCommand\n\nclass Command(BaseCommand): ...\n\nclass NoFastDeleteCollector(Collector):\n data: Dict[str, Any]\n dependencies: Dict[Any, Any]\n fast_deletes: List[Any]\n field_updates: Dict[Any, Any]\n using: str\n def can_fast_delete(self, *args: Any, **kwargs: Any) -> bool: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\contenttypes\management\commands\remove_stale_contenttypes.pyi
remove_stale_contenttypes.pyi
Other
411
0.85
0.2
0
react-lib
198
2025-03-28T23:37:24.503365
GPL-3.0
false
0ce9126772c371deb9b593108c8e2eb8
from typing import Any\n\nfrom django import forms\n\nclass FlatpageForm(forms.ModelForm):\n url: Any = ...\n def clean_url(self) -> str: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\flatpages\forms.pyi
forms.pyi
Other
142
0.85
0.285714
0
vue-tools
893
2024-02-16T17:25:06.036557
Apache-2.0
false
01b02e9d76e993d26617f346cfb44804
from django.core.handlers.wsgi import WSGIRequest\nfrom django.http.response import HttpResponse\nfrom django.utils.deprecation import MiddlewareMixin\n\nclass FlatpageFallbackMiddleware(MiddlewareMixin):\n def process_response(self, request: WSGIRequest, response: HttpResponse) -> HttpResponse: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\flatpages\middleware.pyi
middleware.pyi
Other
299
0.85
0.333333
0
node-utils
509
2024-09-02T20:15:51.897389
Apache-2.0
false
5071a10c933a87904ec6c2656215f7ed
from django.contrib.sites.models import Site\n\nfrom django.db import models\n\nclass FlatPage(models.Model):\n url: models.CharField = ...\n title: models.CharField = ...\n content: models.TextField = ...\n enable_comments: models.BooleanField = ...\n template_name: models.CharField = ...\n registration_required: models.BooleanField = ...\n sites: models.ManyToManyField[Site, Site] = ...\n def get_absolute_url(self) -> str: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\flatpages\models.pyi
models.pyi
Other
445
0.85
0.153846
0
awesome-app
63
2024-09-29T12:24:04.333363
MIT
false
44bd3ffd2c0a633791892d385fffadf3
from django.contrib.sitemaps import Sitemap\n\nclass FlatPageSitemap(Sitemap): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\flatpages\sitemaps.pyi
sitemaps.pyi
Other
81
0.65
0.333333
0
vue-tools
162
2025-06-12T21:45:39.101422
BSD-3-Clause
false
dc7ba7c04e80da35e9e2abc9ae391f95
from typing import Any, List\n\nurlpatterns: List[Any] = ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\flatpages\urls.pyi
urls.pyi
Other
59
0.65
0
0
awesome-app
443
2024-11-19T11:37:38.737344
Apache-2.0
false
72baef07657af40bbb9421362b0c67cd
from django.contrib.flatpages.models import FlatPage\nfrom django.core.handlers.wsgi import WSGIRequest\nfrom django.http.response import HttpResponse\n\nDEFAULT_TEMPLATE: str\n\ndef flatpage(request: WSGIRequest, url: str) -> HttpResponse: ...\ndef render_flatpage(request: WSGIRequest, f: FlatPage) -> HttpResponse: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\flatpages\views.pyi
views.pyi
Other
315
0.85
0.25
0
awesome-app
517
2023-10-02T17:30:57.544845
BSD-3-Clause
false
e815a4bc1f3274c70b973526fd455d60
from typing import Any, Optional\n\nfrom django import template\nfrom django.template.base import Parser, Token\nfrom django.template.context import Context\n\nregister: Any\n\nclass FlatpageNode(template.Node):\n context_name: str = ...\n starts_with: None = ...\n user: None = ...\n def __init__(self, context_name: str, starts_with: Optional[str] = ..., user: Optional[str] = ...) -> None: ...\n def render(self, context: Context) -> str: ...\n\ndef get_flatpages(parser: Parser, token: Token) -> FlatpageNode: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\flatpages\templatetags\flatpages.pyi
flatpages.pyi
Other
518
0.85
0.25
0
vue-tools
978
2023-11-13T14:55:31.668783
Apache-2.0
false
4a00654d4c7be68b9515e30a5704a6ac
from typing import Any, Iterable, NamedTuple, Optional, TypeVar, Union, Tuple\n\nfrom django.db.models.fields import Field, _ErrorMessagesToOverride, _FieldChoices, _ValidatorCallable\n\n_Connection = Any\n\n# __set__ value type\n_ST = TypeVar("_ST")\n# __get__ return type\n_GT = TypeVar("_GT")\n\nclass SRIDCacheEntry(NamedTuple):\n units: Any\n units_name: str\n geodetic: bool\n spheroid: str\n\ndef get_srid_info(srid: int, connection: _Connection) -> SRIDCacheEntry: ...\n\nclass BaseSpatialField(Field[_ST, _GT]):\n def __init__(\n self,\n verbose_name: Optional[Union[str, bytes]] = ...,\n srid: int = ...,\n spatial_index: bool = ...,\n name: Optional[str] = ...,\n primary_key: bool = ...,\n max_length: Optional[int] = ...,\n unique: bool = ...,\n blank: bool = ...,\n null: bool = ...,\n db_index: bool = ...,\n default: Any = ...,\n editable: bool = ...,\n auto_created: bool = ...,\n serialize: bool = ...,\n unique_for_date: Optional[str] = ...,\n unique_for_month: Optional[str] = ...,\n unique_for_year: Optional[str] = ...,\n choices: Optional[_FieldChoices] = ...,\n help_text: str = ...,\n db_column: Optional[str] = ...,\n db_tablespace: Optional[str] = ...,\n validators: Iterable[_ValidatorCallable] = ...,\n error_messages: Optional[_ErrorMessagesToOverride] = ...,\n ): ...\n def spheroid(self, connection: _Connection) -> str: ...\n def units(self, connection: _Connection) -> Any: ...\n def units_name(self, connection: _Connection) -> str: ...\n def geodetic(self, connection: _Connection) -> bool: ...\n\nclass GeometryField(BaseSpatialField):\n def __init__(\n self,\n verbose_name: Optional[Union[str, bytes]] = ...,\n dim: int = ...,\n geography: bool = ...,\n extent: Tuple[float, float, float, float] = ...,\n tolerance: float = ...,\n srid: int = ...,\n spatial_index: bool = ...,\n name: Optional[str] = ...,\n primary_key: bool = ...,\n max_length: Optional[int] = ...,\n unique: bool = ...,\n blank: bool = ...,\n null: bool = ...,\n db_index: bool = ...,\n default: Any = ...,\n editable: bool = ...,\n auto_created: bool = ...,\n serialize: bool = ...,\n unique_for_date: Optional[str] = ...,\n unique_for_month: Optional[str] = ...,\n unique_for_year: Optional[str] = ...,\n choices: Optional[_FieldChoices] = ...,\n help_text: str = ...,\n db_column: Optional[str] = ...,\n db_tablespace: Optional[str] = ...,\n validators: Iterable[_ValidatorCallable] = ...,\n error_messages: Optional[_ErrorMessagesToOverride] = ...,\n ): ...\n\nclass PointField(GeometryField): ...\nclass LineStringField(GeometryField): ...\nclass PolygonField(GeometryField): ...\nclass MultiPointField(GeometryField): ...\nclass MultiLineStringField(GeometryField): ...\nclass MultiPolygonField(GeometryField): ...\nclass GeometryCollectionField(GeometryField): ...\nclass RasterField(BaseSpatialField): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\gis\db\models\fields.pyi
fields.pyi
Other
3,133
0.95
0.197802
0.024096
node-utils
438
2023-09-20T18:59:34.896873
GPL-3.0
false
704435d3b2cb28b2f773b9f493dcb5ee
from django.db.models import *\n\nfrom .fields import (\n GeometryField as GeometryField,\n LineStringField as LineStringField,\n MultiLineStringField as MultiLineStringField,\n MultiPointField as MultiPointField,\n MultiPolygonField as MultiPolygonField,\n PointField as PointField,\n PolygonField as PolygonField,\n GeometryCollectionField as GeometryCollectionField,\n RasterField as RasterField,\n)\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\gis\db\models\__init__.pyi
__init__.pyi
Other
418
0.85
0
0
react-lib
555
2024-03-05T13:57:54.414674
MIT
false
5adb1ad6dd46d6b4cdbffe0b5c070de6
from datetime import date, datetime as datetime\nfrom typing import Any, Optional, SupportsInt, Union\n\nregister: Any\n\ndef ordinal(value: Optional[Union[str, SupportsInt]]) -> Optional[str]: ...\ndef intcomma(value: Optional[Union[str, SupportsInt]], use_l10n: bool = ...) -> str: ...\n\nintword_converters: Any\n\ndef intword(value: Optional[Union[str, SupportsInt]]) -> Optional[Union[int, str]]: ...\ndef apnumber(value: Optional[Union[str, SupportsInt]]) -> Optional[Union[int, str]]: ...\ndef naturalday(value: Optional[Union[date, str]], arg: None = ...) -> Optional[str]: ...\ndef naturaltime(value: datetime) -> str: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\humanize\templatetags\humanize.pyi
humanize.pyi
Other
619
0.85
0.428571
0
awesome-app
957
2025-07-01T10:02:28.805818
BSD-3-Clause
false
292d8cab4edd352e74c409a29794acee
from typing import Any, List, Optional, Union\n\nfrom django.contrib.messages.storage.base import BaseStorage\nfrom django.http.request import HttpRequest\n\nclass MessageFailure(Exception): ...\n\ndef add_message(\n request: Optional[HttpRequest],\n level: int,\n message: str,\n extra_tags: str = ...,\n fail_silently: Union[bool, str] = ...,\n) -> None: ...\ndef get_messages(request: HttpRequest) -> Union[List[Any], BaseStorage]: ...\ndef get_level(request: HttpRequest) -> int: ...\ndef set_level(request: HttpRequest, level: int) -> bool: ...\ndef debug(request: HttpRequest, message: str, extra_tags: str = ..., fail_silently: Union[bool, str] = ...) -> None: ...\ndef info(request: HttpRequest, message: str, extra_tags: str = ..., fail_silently: Union[bool, str] = ...) -> None: ...\ndef success(\n request: HttpRequest, message: str, extra_tags: str = ..., fail_silently: Union[bool, str] = ...\n) -> None: ...\ndef warning(\n request: HttpRequest, message: str, extra_tags: str = ..., fail_silently: Union[bool, str] = ...\n) -> None: ...\ndef error(request: HttpRequest, message: str, extra_tags: str = ..., fail_silently: Union[bool, str] = ...) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\messages\api.pyi
api.pyi
Other
1,169
0.85
0.384615
0
node-utils
223
2024-09-30T15:33:17.612140
BSD-3-Clause
false
149458d576752b802bd3055193c66372
from typing import Dict\n\nDEBUG: int = ...\nINFO: int = ...\nSUCCESS: int = ...\nWARNING: int = ...\nERROR: int = ...\n\nDEFAULT_TAGS: Dict[int, str] = ...\n\nDEFAULT_LEVELS: Dict[str, int] = ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\messages\constants.pyi
constants.pyi
Other
187
0.85
0
0
python-kit
455
2024-09-30T13:41:52.781332
MIT
false
3f9210e970585cb3c3f638fce620b497
from typing import Any, Dict, List, Union\n\nfrom django.contrib.messages.storage.base import BaseStorage\nfrom django.http.request import HttpRequest\n\ndef messages(request: HttpRequest) -> Dict[str, Union[Dict[str, int], List[Any], BaseStorage]]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\messages\context_processors.pyi
context_processors.pyi
Other
249
0.85
0.166667
0
awesome-app
778
2025-04-20T08:00:50.882382
GPL-3.0
false
cd8d1dcfe70321499868052317f31929
from django.http.request import HttpRequest\nfrom django.http.response import HttpResponse\nfrom django.utils.deprecation import MiddlewareMixin\n\nclass MessageMiddleware(MiddlewareMixin):\n def process_request(self, request: HttpRequest) -> None: ...\n def process_response(self, request: HttpRequest, response: HttpResponse) -> HttpResponse: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\messages\middleware.pyi
middleware.pyi
Other
349
0.85
0.428571
0
python-kit
98
2023-09-21T20:55:59.533923
Apache-2.0
false
4431fa0ccaf846b6ef37c17aad66f4ac
from typing import Dict\n\ndef get_level_tags() -> Dict[int, str]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\messages\utils.pyi
utils.pyi
Other
69
0.65
0.333333
0
react-lib
332
2025-03-23T12:17:47.703672
BSD-3-Clause
false
29d9de4df2363929823479be9f9fb82d
from typing import Dict\n\nfrom django.forms.forms import BaseForm\nfrom django.http.response import HttpResponse\n\nclass SuccessMessageMixin:\n success_message: str = ...\n def form_valid(self, form: BaseForm) -> HttpResponse: ...\n def get_success_message(self, cleaned_data: Dict[str, str]) -> str: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\messages\views.pyi
views.pyi
Other
308
0.85
0.333333
0
react-lib
290
2025-03-03T01:22:06.892802
Apache-2.0
false
6f556f4a7cd1cf6eb2c13cc85944449c
from .api import (\n get_level as get_level,\n set_level as set_level,\n add_message as add_message,\n debug as debug,\n error as error,\n success as success,\n get_messages as get_messages,\n MessageFailure as MessageFailure,\n info as info,\n warning as warning,\n)\n\nfrom .constants import (\n DEBUG as DEBUG,\n DEFAULT_LEVELS as DEFAULT_LEVELS,\n DEFAULT_TAGS as DEFAULT_TAGS,\n ERROR as ERROR,\n INFO as INFO,\n SUCCESS as SUCCESS,\n WARNING as WARNING,\n)\n\ndefault_app_config: str = ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\messages\__init__.pyi
__init__.pyi
Other
524
0.85
0
0
vue-tools
795
2024-11-14T13:50:45.837518
GPL-3.0
false
d4242b738e2bce831efc34928edf7967
from typing import Any, List, Optional\n\nfrom django.http.request import HttpRequest\nfrom django.http.response import HttpResponseBase\n\nLEVEL_TAGS: Any\n\nclass Message:\n level: int = ...\n message: str = ...\n extra_tags: str = ...\n def __init__(self, level: int, message: str, extra_tags: Optional[str] = ...) -> None: ...\n @property\n def tags(self) -> str: ...\n @property\n def level_tag(self) -> str: ...\n\nclass BaseStorage:\n request: HttpRequest = ...\n used: bool = ...\n added_new: bool = ...\n def __init__(self, request: HttpRequest, *args: Any, **kwargs: Any) -> None: ...\n def __len__(self) -> int: ...\n def __iter__(self): ...\n def __contains__(self, item: Any): ...\n def update(self, response: HttpResponseBase) -> Optional[List[Message]]: ...\n def add(self, level: int, message: str, extra_tags: Optional[str] = ...) -> None: ...\n level: Any = ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\messages\storage\base.pyi
base.pyi
Other
907
0.85
0.392857
0
awesome-app
979
2024-12-24T16:06:19.551686
BSD-3-Clause
false
d5b3e746b1c985e7b0085c0322eaac89
import json\nfrom typing import Any\n\nfrom django.contrib.messages.storage.base import BaseStorage\n\nclass MessageEncoder(json.JSONEncoder):\n allow_nan: bool\n check_circular: bool\n ensure_ascii: bool\n skipkeys: bool\n sort_keys: bool\n message_key: str = ...\n\nclass MessageDecoder(json.JSONDecoder):\n def process_messages(self, obj: Any) -> Any: ...\n\nclass CookieStorage(BaseStorage):\n cookie_name: str = ...\n max_cookie_size: int = ...\n not_finished: str = ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\messages\storage\cookie.pyi
cookie.pyi
Other
487
0.85
0.2
0
vue-tools
648
2024-02-20T17:49:14.795989
Apache-2.0
false
581fe71a8a81159995854c700fa241b9
from typing import Any\n\nfrom django.contrib.messages.storage.base import BaseStorage\n\nclass FallbackStorage(BaseStorage):\n storage_classes: Any = ...\n storages: Any = ...\n def __init__(self, *args: Any, **kwargs: Any) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\messages\storage\fallback.pyi
fallback.pyi
Other
240
0.85
0.25
0
react-lib
935
2023-08-08T06:26:44.908170
GPL-3.0
false
df114ed84c1bddecf5052943475bd9fa
from typing import Any, List, Optional, Sequence, Union\n\nfrom django.contrib.messages.storage.base import BaseStorage\nfrom django.http.request import HttpRequest\n\nclass SessionStorage(BaseStorage):\n session_key: str = ...\n def __init__(self, request: HttpRequest, *args: Any, **kwargs: Any) -> None: ...\n def serialize_messages(self, messages: Sequence[Any]) -> str: ...\n def deserialize_messages(self, data: Optional[Union[List[Any], str]]) -> Optional[List[Any]]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\messages\storage\session.pyi
session.pyi
Other
482
0.85
0.4
0
react-lib
509
2024-02-24T12:27:27.230140
MIT
false
59dd2888dc77b4a1d9745e0dcfa945b0
from typing import Any, Optional\n\nfrom django.contrib.messages.storage.base import BaseStorage\nfrom django.http.request import HttpRequest\n\ndef default_storage(request: HttpRequest) -> BaseStorage: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\messages\storage\__init__.pyi
__init__.pyi
Other
202
0.85
0.166667
0
vue-tools
184
2024-07-05T17:39:21.338501
MIT
false
580f955fdc34358e647c0aaa0a8ff100
from typing import Optional, Sequence, Tuple, Union\n\nfrom django.db.models.constraints import BaseConstraint\nfrom django.db.models.expressions import Combinable\nfrom django.db.models.query_utils import Q\n\nclass ExclusionConstraint(BaseConstraint):\n expressions: Sequence[Tuple[Union[str, Combinable], str]]\n index_type: str\n condition: Optional[Q]\n def __init__(\n self,\n *,\n name: str,\n expressions: Sequence[Tuple[Union[str, Combinable], str]],\n condition: Optional[Q] = ...,\n index_type: Optional[str] = ...,\n ): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\postgres\constraints.pyi
constraints.pyi
Other
576
0.85
0.111111
0.0625
awesome-app
385
2024-12-08T21:42:12.547816
GPL-3.0
false
41886804a24eccd2310e54e7cb38da45
from django.db.models import Func\n\nclass RandomUUID(Func): ...\nclass TransactionNow(Func): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\postgres\functions.pyi
functions.pyi
Other
95
0.65
0.5
0
react-lib
781
2025-05-11T01:41:17.857833
MIT
false
5efcc15adbfece2e1d73d0c4cf83fd94
from typing import Optional, Sequence\n\nfrom django.db.models.query_utils import Q\n\nfrom django.db.models import Index\n\nclass PostgresIndex(Index): ...\n\nclass BrinIndex(PostgresIndex):\n def __init__(\n self,\n *,\n autosummarize: Optional[bool] = ...,\n pages_per_range: Optional[int] = ...,\n fields: Sequence[str] = ...,\n name: Optional[str] = ...,\n db_tablespace: Optional[str] = ...,\n opclasses: Sequence[str] = ...,\n condition: Optional[Q] = ...\n ) -> None: ...\n\nclass BTreeIndex(PostgresIndex):\n def __init__(\n self,\n *,\n fillfactor: Optional[int] = ...,\n fields: Sequence[str] = ...,\n name: Optional[str] = ...,\n db_tablespace: Optional[str] = ...,\n opclasses: Sequence[str] = ...,\n condition: Optional[Q] = ...\n ) -> None: ...\n\nclass GinIndex(PostgresIndex):\n def __init__(\n self,\n *,\n fastupdate: Optional[bool] = ...,\n gin_pending_list_limit: Optional[int] = ...,\n fields: Sequence[str] = ...,\n name: Optional[str] = ...,\n db_tablespace: Optional[str] = ...,\n opclasses: Sequence[str] = ...,\n condition: Optional[Q] = ...\n ) -> None: ...\n\nclass GistIndex(PostgresIndex):\n def __init__(\n self,\n *,\n buffering: Optional[bool] = ...,\n fillfactor: Optional[int] = ...,\n fields: Sequence[str] = ...,\n name: Optional[str] = ...,\n db_tablespace: Optional[str] = ...,\n opclasses: Sequence[str] = ...,\n condition: Optional[Q] = ...\n ) -> None: ...\n\nclass HashIndex(PostgresIndex):\n def __init__(\n self,\n *,\n fillfactor: Optional[int] = ...,\n fields: Sequence[str] = ...,\n name: Optional[str] = ...,\n db_tablespace: Optional[str] = ...,\n opclasses: Sequence[str] = ...,\n condition: Optional[Q] = ...\n ) -> None: ...\n\nclass SpGistIndex(PostgresIndex):\n def __init__(\n self,\n *,\n fillfactor: Optional[int] = ...,\n fields: Sequence[str] = ...,\n name: Optional[str] = ...,\n db_tablespace: Optional[str] = ...,\n opclasses: Sequence[str] = ...,\n condition: Optional[Q] = ...\n ) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\postgres\indexes.pyi
indexes.pyi
Other
2,272
0.85
0.158537
0.082192
node-utils
231
2024-12-30T11:23:39.595293
MIT
false
7e783519eee243f91acf1d87ad2f07fa
from django.db.models.lookups import Exact\n\nfrom django.db.models import Lookup, Transform\nfrom .search import SearchVectorExact\n\nclass PostgresSimpleLookup(Lookup):\n operator: str\n\nclass DataContains(PostgresSimpleLookup): ...\nclass ContainedBy(PostgresSimpleLookup): ...\nclass Overlap(PostgresSimpleLookup): ...\nclass HasKey(PostgresSimpleLookup): ...\nclass HasKeys(PostgresSimpleLookup): ...\nclass HasAnyKeys(HasKeys): ...\nclass Unaccent(Transform): ...\nclass SearchLookup(SearchVectorExact): ...\nclass TrigramSimilar(PostgresSimpleLookup): ...\nclass JSONExact(Exact): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\postgres\lookups.pyi
lookups.pyi
Other
579
0.85
0.611111
0
awesome-app
972
2023-12-23T04:55:07.300319
GPL-3.0
false
65c010d9953b31b94392403b639be994
from django.db.migrations.operations.base import Operation\n\nclass CreateExtension(Operation):\n reversible: bool = ...\n name: str = ...\n def __init__(self, name: str) -> None: ...\n\nclass BtreeGinExtension(CreateExtension):\n def __init__(self) -> None: ...\n\nclass BtreeGistExtension(CreateExtension):\n def __init__(self) -> None: ...\n\nclass CITextExtension(CreateExtension):\n def __init__(self) -> None: ...\n\nclass CryptoExtension(CreateExtension):\n def __init__(self) -> None: ...\n\nclass HStoreExtension(CreateExtension):\n def __init__(self) -> None: ...\n\nclass TrigramExtension(CreateExtension):\n def __init__(self) -> None: ...\n\nclass UnaccentExtension(CreateExtension):\n def __init__(self) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\postgres\operations.pyi
operations.pyi
Other
735
0.85
0.592593
0
python-kit
640
2024-05-23T23:55:28.012082
MIT
false
f7147f94724360ed50bff943c17b97d0
from typing import Any, Dict, Optional, TypeVar, Union\n\nfrom django.db.models.expressions import Combinable, CombinedExpression, Func, Value, _OutputField\nfrom django.db.models.lookups import Lookup\n\nfrom django.db.models import Field\n\n_Expression = Union[str, Combinable, "SearchQueryCombinable"]\n\nclass SearchVectorExact(Lookup): ...\nclass SearchVectorField(Field): ...\nclass SearchQueryField(Field): ...\n\nclass SearchVectorCombinable:\n ADD: str = ...\n\nclass SearchVector(SearchVectorCombinable, Func):\n config: Optional[Any] = ...\n def __init__(self, *expressions: _Expression, **extra: Any): ...\n\nclass CombinedSearchVector(SearchVectorCombinable, CombinedExpression):\n def __init__(\n self, lhs, connector, rhs, config: Optional[_Expression] = ..., output_field: Optional[_OutputField] = ...\n ): ...\n\n_T = TypeVar("_T", bound="SearchQueryCombinable")\n\nclass SearchQueryCombinable:\n BITAND: str = ...\n BITOR: str = ...\n def __or__(self: _T, other: SearchQueryCombinable) -> _T: ...\n def __ror__(self: _T, other: SearchQueryCombinable) -> _T: ...\n def __and__(self: _T, other: SearchQueryCombinable) -> _T: ...\n def __rand__(self: _T, other: SearchQueryCombinable) -> _T: ...\n\nclass SearchQuery(SearchQueryCombinable, Value): # type: ignore\n SEARCH_TYPES: Dict[str, str] = ...\n def __init__(\n self,\n value: str,\n output_field: Optional[_OutputField] = ...,\n *,\n config: Optional[_Expression] = ...,\n invert: bool = ...,\n search_type: str = ...\n ): ...\n def __invert__(self: _T) -> _T: ...\n\nclass CombinedSearchQuery(SearchQueryCombinable, CombinedExpression): # type: ignore\n def __init__(\n self, lhs, connector, rhs, config: Optional[_Expression] = ..., output_field: Optional[_OutputField] = ...\n ) -> None: ...\n\nclass SearchRank(Func):\n def __init__(\n self, vector: Union[SearchVector, _Expression], query: Union[SearchQuery, _Expression], **extra: Any\n ) -> None: ...\n\nclass TrigramBase(Func):\n def __init__(self, expression: _Expression, string, **extra: Any) -> None: ...\n\nclass TrigramSimilarity(TrigramBase): ...\nclass TrigramDistance(TrigramBase): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\postgres\search.pyi
search.pyi
Other
2,195
0.95
0.380952
0.020408
python-kit
625
2023-10-07T15:23:08.258202
Apache-2.0
false
e540a50d6685eb2b1770bea0e4b68a20
from typing import Any, Tuple\n\ndef get_hstore_oids(connection_alias: str) -> Tuple[Any, ...]: ...\ndef get_citext_oids(connection_alias: str) -> Tuple[Any, ...]: ...\ndef register_type_handlers(connection: Any, **kwargs: Any) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\postgres\signals.pyi
signals.pyi
Other
237
0.85
0.6
0
react-lib
789
2024-10-16T00:09:37.256913
GPL-3.0
false
610d1041e1ccd409ede9ad250154345f
from typing import Any, Dict, Iterable, Mapping, Optional\n\nfrom django.core.validators import MaxLengthValidator, MaxValueValidator, MinLengthValidator, MinValueValidator\n\nclass ArrayMaxLengthValidator(MaxLengthValidator): ...\nclass ArrayMinLengthValidator(MinLengthValidator): ...\n\nclass KeysValidator:\n messages: Dict[str, str] = ...\n strict: bool = ...\n def __init__(\n self, keys: Iterable[str], strict: bool = ..., messages: Optional[Mapping[str, str]] = ...\n ) -> None: ...\n def __call__(self, value: Any) -> None: ...\n\nclass RangeMaxValueValidator(MaxValueValidator): ...\nclass RangeMinValueValidator(MinValueValidator): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\postgres\validators.pyi
validators.pyi
Other
653
0.85
0.411765
0
python-kit
939
2024-05-20T06:11:02.179651
MIT
false
03b33a5697ad9babecc2cbfb4ac51f0f
from django.db.models.aggregates import Aggregate\n\nfrom .mixins import OrderableAggMixin\n\nclass ArrayAgg(OrderableAggMixin, Aggregate): ...\nclass BitAnd(Aggregate): ...\nclass BitOr(Aggregate): ...\nclass BoolAnd(Aggregate): ...\nclass BoolOr(Aggregate): ...\nclass JSONBAgg(Aggregate): ...\nclass StringAgg(OrderableAggMixin, Aggregate): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\postgres\aggregates\general.pyi
general.pyi
Other
338
0.85
0.636364
0
awesome-app
802
2024-06-23T12:08:40.425138
MIT
false
bcf0e5ab439da7c8f1dd08e330373de1
class OrderableAggMixin: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\postgres\aggregates\mixins.pyi
mixins.pyi
Other
29
0.65
1
0
python-kit
493
2025-02-13T12:50:42.221556
Apache-2.0
false
70d9a15e112c2029eccef57bb9e0154d
from django.db.models.aggregates import Aggregate\n\nclass StatAggregate(Aggregate): ...\nclass Corr(StatAggregate): ...\nclass CovarPop(StatAggregate): ...\nclass RegrAvgX(StatAggregate): ...\nclass RegrAvgY(StatAggregate): ...\nclass RegrCount(StatAggregate): ...\nclass RegrIntercept(StatAggregate): ...\nclass RegrR2(StatAggregate): ...\nclass RegrSlope(StatAggregate): ...\nclass RegrSXX(StatAggregate): ...\nclass RegrSXY(StatAggregate): ...\nclass RegrSYY(StatAggregate): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\postgres\aggregates\statistics.pyi
statistics.pyi
Other
470
0.85
0.857143
0
python-kit
730
2023-09-01T03:20:52.332046
MIT
false
8acbc184bfa90410884db04135e3e41e
from .general import (\n ArrayAgg as ArrayAgg,\n BitAnd as BitAnd,\n BitOr as BitOr,\n BoolAnd as BoolAnd,\n BoolOr as BoolOr,\n JSONBAgg as JSONBAgg,\n StringAgg as StringAgg,\n)\n\nfrom .statistics import (\n Corr as Corr,\n CovarPop as CovarPop,\n RegrAvgX as RegrAvgX,\n RegrAvgY as RegrAvgY,\n RegrCount as RegrCount,\n RegrIntercept as RegrIntercept,\n RegrR2 as RegrR2,\n RegrSlope as RegrSlope,\n RegrSXX as RegrSXX,\n RegrSXY as RegrSXY,\n RegrSYY as RegrSYY,\n StatAggregate as StatAggregate,\n)\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\postgres\aggregates\__init__.pyi
__init__.pyi
Other
540
0.85
0
0
vue-tools
5
2024-06-03T14:09:56.823590
GPL-3.0
false
7144e49aa55e46818284b7d6a8e2cb0c
from typing import Any, Iterable, List, Optional, Sequence, TypeVar, Union\n\nfrom django.db.models.expressions import Combinable\nfrom django.db.models.fields import Field, _ErrorMessagesToOverride, _FieldChoices, _ValidatorCallable\n\nfrom .mixins import CheckFieldDefaultMixin\n\n# __set__ value type\n_ST = TypeVar("_ST")\n# __get__ return type\n_GT = TypeVar("_GT")\n\nclass ArrayField(CheckFieldDefaultMixin, Field[_ST, _GT]):\n _pyi_private_set_type: Union[Sequence[Any], Combinable]\n _pyi_private_get_type: List[Any]\n\n empty_strings_allowed: bool = ...\n default_error_messages: Any = ...\n base_field: Any = ...\n size: Any = ...\n default_validators: Any = ...\n from_db_value: Any = ...\n def __init__(\n self,\n base_field: Field,\n size: Optional[int] = ...,\n verbose_name: Optional[Union[str, bytes]] = ...,\n name: Optional[str] = ...,\n primary_key: bool = ...,\n max_length: Optional[int] = ...,\n unique: bool = ...,\n blank: bool = ...,\n null: bool = ...,\n db_index: bool = ...,\n default: Any = ...,\n editable: bool = ...,\n auto_created: bool = ...,\n serialize: bool = ...,\n unique_for_date: Optional[str] = ...,\n unique_for_month: Optional[str] = ...,\n unique_for_year: Optional[str] = ...,\n choices: Optional[_FieldChoices] = ...,\n help_text: str = ...,\n db_column: Optional[str] = ...,\n db_tablespace: Optional[str] = ...,\n validators: Iterable[_ValidatorCallable] = ...,\n error_messages: Optional[_ErrorMessagesToOverride] = ...,\n ) -> None: ...\n @property\n def description(self): ...\n def get_transform(self, name: Any): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\postgres\fields\array.pyi
array.pyi
Other
1,729
0.95
0.078431
0.043478
node-utils
721
2024-12-16T08:16:37.467850
BSD-3-Clause
false
9b15143b702169d2406f6a0176d1c4bc
from django.db.models.fields import CharField, EmailField, TextField\n\nclass CIText: ...\nclass CICharField(CIText, CharField): ...\nclass CIEmailField(CIText, EmailField): ...\nclass CITextField(CIText, TextField): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\postgres\fields\citext.pyi
citext.pyi
Other
216
0.85
0.666667
0
node-utils
767
2025-05-21T14:25:53.617628
MIT
false
0be7ac1b73b3e1ed3c677549d0f70262