Datasets:
Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +1 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/admindocs/urls.pyi +3 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/admindocs/views.pyi +21 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/gis/db/__init__.pyi +0 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/gis/db/models/__init__.pyi +13 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/gis/db/models/fields.pyi +91 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/humanize/__init__.pyi +0 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/humanize/templatetags/__init__.pyi +0 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/humanize/templatetags/humanize.pyi +14 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/messages/__init__.pyi +24 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/messages/api.pyi +26 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/messages/constants.pyi +11 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/messages/context_processors.pyi +6 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/messages/middleware.pyi +7 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/messages/storage/base.pyi +28 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/messages/utils.pyi +3 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/messages/views.pyi +9 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/postgres/__init__.pyi +0 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/postgres/fields/__init__.pyi +20 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/postgres/fields/array.pyi +51 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/postgres/fields/mixins.pyi +4 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/postgres/functions.pyi +4 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/postgres/indexes.pyi +82 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/postgres/operations.pyi +27 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/postgres/signals.pyi +5 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/postgres/validators.pyi +17 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sessions/__init__.pyi +0 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sessions/backends/cached_db.pyi +11 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sessions/base_session.pyi +19 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sessions/exceptions.pyi +4 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sessions/middleware.pyi +11 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sessions/models.pyi +4 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sessions/serializers.pyi +10 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sites/apps.pyi +3 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sites/management.pyi +13 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sites/models.pyi +21 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sites/shortcuts.pyi +7 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/staticfiles/management/commands/collectstatic.pyi +28 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/staticfiles/management/commands/findstatic.pyi +3 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/staticfiles/management/commands/runserver.pyi +3 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/core/cache/__init__.pyi +24 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/core/cache/backends/db.pyi +22 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/core/cache/backends/dummy.pyi +6 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/core/cache/backends/filebased.pyi +7 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/core/cache/backends/memcached.pyi +10 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/core/cache/utils.pyi +5 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/utils/baseconv.pyi +24 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/utils/crypto.pyi +15 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/utils/datetime_safe.pyi +10 -0
- material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/utils/deconstruct.pyi +3 -0
.gitattributes
CHANGED
|
@@ -490,3 +490,4 @@ material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/matplotlib/m
|
|
| 490 |
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/_cffi_backend.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 491 |
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/pillow.libs/libopenjp2-56811f71.so.2.5.3 filter=lfs diff=lfs merge=lfs -text
|
| 492 |
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/IPython/core/__pycache__/interactiveshell.cpython-310.pyc filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 490 |
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/_cffi_backend.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 491 |
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/pillow.libs/libopenjp2-56811f71.so.2.5.3 filter=lfs diff=lfs merge=lfs -text
|
| 492 |
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/IPython/core/__pycache__/interactiveshell.cpython-310.pyc filter=lfs diff=lfs merge=lfs -text
|
| 493 |
+
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/matplotlib/_qhull.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/admindocs/urls.pyi
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, List
|
| 2 |
+
|
| 3 |
+
urlpatterns: List[Any] = ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/admindocs/views.pyi
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional, Union
|
| 2 |
+
|
| 3 |
+
from django.db.models.fields import Field
|
| 4 |
+
from django.views.generic import TemplateView
|
| 5 |
+
|
| 6 |
+
MODEL_METHODS_EXCLUDE: Any
|
| 7 |
+
|
| 8 |
+
class BaseAdminDocsView(TemplateView): ...
|
| 9 |
+
class BookmarkletsView(BaseAdminDocsView): ...
|
| 10 |
+
class TemplateTagIndexView(BaseAdminDocsView): ...
|
| 11 |
+
class TemplateFilterIndexView(BaseAdminDocsView): ...
|
| 12 |
+
class ViewIndexView(BaseAdminDocsView): ...
|
| 13 |
+
class ViewDetailView(BaseAdminDocsView): ...
|
| 14 |
+
class ModelIndexView(BaseAdminDocsView): ...
|
| 15 |
+
class ModelDetailView(BaseAdminDocsView): ...
|
| 16 |
+
class TemplateDetailView(BaseAdminDocsView): ...
|
| 17 |
+
|
| 18 |
+
def get_return_data_type(func_name: Any): ...
|
| 19 |
+
def get_readable_field_data_type(field: Union[Field, str]) -> str: ...
|
| 20 |
+
def extract_views_from_urlpatterns(urlpatterns: Any, base: str = ..., namespace: Optional[Any] = ...): ...
|
| 21 |
+
def simplify_regex(pattern: str) -> str: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/gis/db/__init__.pyi
ADDED
|
File without changes
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/gis/db/models/__init__.pyi
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from django.db.models import *
|
| 2 |
+
|
| 3 |
+
from .fields import (
|
| 4 |
+
GeometryField as GeometryField,
|
| 5 |
+
LineStringField as LineStringField,
|
| 6 |
+
MultiLineStringField as MultiLineStringField,
|
| 7 |
+
MultiPointField as MultiPointField,
|
| 8 |
+
MultiPolygonField as MultiPolygonField,
|
| 9 |
+
PointField as PointField,
|
| 10 |
+
PolygonField as PolygonField,
|
| 11 |
+
GeometryCollectionField as GeometryCollectionField,
|
| 12 |
+
RasterField as RasterField,
|
| 13 |
+
)
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/gis/db/models/fields.pyi
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Iterable, NamedTuple, Optional, TypeVar, Union, Tuple
|
| 2 |
+
|
| 3 |
+
from django.db.models.fields import Field, _ErrorMessagesToOverride, _FieldChoices, _ValidatorCallable
|
| 4 |
+
|
| 5 |
+
_Connection = Any
|
| 6 |
+
|
| 7 |
+
# __set__ value type
|
| 8 |
+
_ST = TypeVar("_ST")
|
| 9 |
+
# __get__ return type
|
| 10 |
+
_GT = TypeVar("_GT")
|
| 11 |
+
|
| 12 |
+
class SRIDCacheEntry(NamedTuple):
|
| 13 |
+
units: Any
|
| 14 |
+
units_name: str
|
| 15 |
+
geodetic: bool
|
| 16 |
+
spheroid: str
|
| 17 |
+
|
| 18 |
+
def get_srid_info(srid: int, connection: _Connection) -> SRIDCacheEntry: ...
|
| 19 |
+
|
| 20 |
+
class BaseSpatialField(Field[_ST, _GT]):
|
| 21 |
+
def __init__(
|
| 22 |
+
self,
|
| 23 |
+
verbose_name: Optional[Union[str, bytes]] = ...,
|
| 24 |
+
srid: int = ...,
|
| 25 |
+
spatial_index: bool = ...,
|
| 26 |
+
name: Optional[str] = ...,
|
| 27 |
+
primary_key: bool = ...,
|
| 28 |
+
max_length: Optional[int] = ...,
|
| 29 |
+
unique: bool = ...,
|
| 30 |
+
blank: bool = ...,
|
| 31 |
+
null: bool = ...,
|
| 32 |
+
db_index: bool = ...,
|
| 33 |
+
default: Any = ...,
|
| 34 |
+
editable: bool = ...,
|
| 35 |
+
auto_created: bool = ...,
|
| 36 |
+
serialize: bool = ...,
|
| 37 |
+
unique_for_date: Optional[str] = ...,
|
| 38 |
+
unique_for_month: Optional[str] = ...,
|
| 39 |
+
unique_for_year: Optional[str] = ...,
|
| 40 |
+
choices: Optional[_FieldChoices] = ...,
|
| 41 |
+
help_text: str = ...,
|
| 42 |
+
db_column: Optional[str] = ...,
|
| 43 |
+
db_tablespace: Optional[str] = ...,
|
| 44 |
+
validators: Iterable[_ValidatorCallable] = ...,
|
| 45 |
+
error_messages: Optional[_ErrorMessagesToOverride] = ...,
|
| 46 |
+
): ...
|
| 47 |
+
def spheroid(self, connection: _Connection) -> str: ...
|
| 48 |
+
def units(self, connection: _Connection) -> Any: ...
|
| 49 |
+
def units_name(self, connection: _Connection) -> str: ...
|
| 50 |
+
def geodetic(self, connection: _Connection) -> bool: ...
|
| 51 |
+
|
| 52 |
+
class GeometryField(BaseSpatialField):
|
| 53 |
+
def __init__(
|
| 54 |
+
self,
|
| 55 |
+
verbose_name: Optional[Union[str, bytes]] = ...,
|
| 56 |
+
dim: int = ...,
|
| 57 |
+
geography: bool = ...,
|
| 58 |
+
extent: Tuple[float, float, float, float] = ...,
|
| 59 |
+
tolerance: float = ...,
|
| 60 |
+
srid: int = ...,
|
| 61 |
+
spatial_index: bool = ...,
|
| 62 |
+
name: Optional[str] = ...,
|
| 63 |
+
primary_key: bool = ...,
|
| 64 |
+
max_length: Optional[int] = ...,
|
| 65 |
+
unique: bool = ...,
|
| 66 |
+
blank: bool = ...,
|
| 67 |
+
null: bool = ...,
|
| 68 |
+
db_index: bool = ...,
|
| 69 |
+
default: Any = ...,
|
| 70 |
+
editable: bool = ...,
|
| 71 |
+
auto_created: bool = ...,
|
| 72 |
+
serialize: bool = ...,
|
| 73 |
+
unique_for_date: Optional[str] = ...,
|
| 74 |
+
unique_for_month: Optional[str] = ...,
|
| 75 |
+
unique_for_year: Optional[str] = ...,
|
| 76 |
+
choices: Optional[_FieldChoices] = ...,
|
| 77 |
+
help_text: str = ...,
|
| 78 |
+
db_column: Optional[str] = ...,
|
| 79 |
+
db_tablespace: Optional[str] = ...,
|
| 80 |
+
validators: Iterable[_ValidatorCallable] = ...,
|
| 81 |
+
error_messages: Optional[_ErrorMessagesToOverride] = ...,
|
| 82 |
+
): ...
|
| 83 |
+
|
| 84 |
+
class PointField(GeometryField): ...
|
| 85 |
+
class LineStringField(GeometryField): ...
|
| 86 |
+
class PolygonField(GeometryField): ...
|
| 87 |
+
class MultiPointField(GeometryField): ...
|
| 88 |
+
class MultiLineStringField(GeometryField): ...
|
| 89 |
+
class MultiPolygonField(GeometryField): ...
|
| 90 |
+
class GeometryCollectionField(GeometryField): ...
|
| 91 |
+
class RasterField(BaseSpatialField): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/humanize/__init__.pyi
ADDED
|
File without changes
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/humanize/templatetags/__init__.pyi
ADDED
|
File without changes
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/humanize/templatetags/humanize.pyi
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from datetime import date, datetime as datetime
|
| 2 |
+
from typing import Any, Optional, SupportsInt, Union
|
| 3 |
+
|
| 4 |
+
register: Any
|
| 5 |
+
|
| 6 |
+
def ordinal(value: Optional[Union[str, SupportsInt]]) -> Optional[str]: ...
|
| 7 |
+
def intcomma(value: Optional[Union[str, SupportsInt]], use_l10n: bool = ...) -> str: ...
|
| 8 |
+
|
| 9 |
+
intword_converters: Any
|
| 10 |
+
|
| 11 |
+
def intword(value: Optional[Union[str, SupportsInt]]) -> Optional[Union[int, str]]: ...
|
| 12 |
+
def apnumber(value: Optional[Union[str, SupportsInt]]) -> Optional[Union[int, str]]: ...
|
| 13 |
+
def naturalday(value: Optional[Union[date, str]], arg: None = ...) -> Optional[str]: ...
|
| 14 |
+
def naturaltime(value: datetime) -> str: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/messages/__init__.pyi
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from .api import (
|
| 2 |
+
get_level as get_level,
|
| 3 |
+
set_level as set_level,
|
| 4 |
+
add_message as add_message,
|
| 5 |
+
debug as debug,
|
| 6 |
+
error as error,
|
| 7 |
+
success as success,
|
| 8 |
+
get_messages as get_messages,
|
| 9 |
+
MessageFailure as MessageFailure,
|
| 10 |
+
info as info,
|
| 11 |
+
warning as warning,
|
| 12 |
+
)
|
| 13 |
+
|
| 14 |
+
from .constants import (
|
| 15 |
+
DEBUG as DEBUG,
|
| 16 |
+
DEFAULT_LEVELS as DEFAULT_LEVELS,
|
| 17 |
+
DEFAULT_TAGS as DEFAULT_TAGS,
|
| 18 |
+
ERROR as ERROR,
|
| 19 |
+
INFO as INFO,
|
| 20 |
+
SUCCESS as SUCCESS,
|
| 21 |
+
WARNING as WARNING,
|
| 22 |
+
)
|
| 23 |
+
|
| 24 |
+
default_app_config: str = ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/messages/api.pyi
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, List, Optional, Union
|
| 2 |
+
|
| 3 |
+
from django.contrib.messages.storage.base import BaseStorage
|
| 4 |
+
from django.http.request import HttpRequest
|
| 5 |
+
|
| 6 |
+
class MessageFailure(Exception): ...
|
| 7 |
+
|
| 8 |
+
def add_message(
|
| 9 |
+
request: Optional[HttpRequest],
|
| 10 |
+
level: int,
|
| 11 |
+
message: str,
|
| 12 |
+
extra_tags: str = ...,
|
| 13 |
+
fail_silently: Union[bool, str] = ...,
|
| 14 |
+
) -> None: ...
|
| 15 |
+
def get_messages(request: HttpRequest) -> Union[List[Any], BaseStorage]: ...
|
| 16 |
+
def get_level(request: HttpRequest) -> int: ...
|
| 17 |
+
def set_level(request: HttpRequest, level: int) -> bool: ...
|
| 18 |
+
def debug(request: HttpRequest, message: str, extra_tags: str = ..., fail_silently: Union[bool, str] = ...) -> None: ...
|
| 19 |
+
def info(request: HttpRequest, message: str, extra_tags: str = ..., fail_silently: Union[bool, str] = ...) -> None: ...
|
| 20 |
+
def success(
|
| 21 |
+
request: HttpRequest, message: str, extra_tags: str = ..., fail_silently: Union[bool, str] = ...
|
| 22 |
+
) -> None: ...
|
| 23 |
+
def warning(
|
| 24 |
+
request: HttpRequest, message: str, extra_tags: str = ..., fail_silently: Union[bool, str] = ...
|
| 25 |
+
) -> None: ...
|
| 26 |
+
def error(request: HttpRequest, message: str, extra_tags: str = ..., fail_silently: Union[bool, str] = ...) -> None: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/messages/constants.pyi
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Dict
|
| 2 |
+
|
| 3 |
+
DEBUG: int = ...
|
| 4 |
+
INFO: int = ...
|
| 5 |
+
SUCCESS: int = ...
|
| 6 |
+
WARNING: int = ...
|
| 7 |
+
ERROR: int = ...
|
| 8 |
+
|
| 9 |
+
DEFAULT_TAGS: Dict[int, str] = ...
|
| 10 |
+
|
| 11 |
+
DEFAULT_LEVELS: Dict[str, int] = ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/messages/context_processors.pyi
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Dict, List, Union
|
| 2 |
+
|
| 3 |
+
from django.contrib.messages.storage.base import BaseStorage
|
| 4 |
+
from django.http.request import HttpRequest
|
| 5 |
+
|
| 6 |
+
def messages(request: HttpRequest) -> Dict[str, Union[Dict[str, int], List[Any], BaseStorage]]: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/messages/middleware.pyi
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from django.http.request import HttpRequest
|
| 2 |
+
from django.http.response import HttpResponse
|
| 3 |
+
from django.utils.deprecation import MiddlewareMixin
|
| 4 |
+
|
| 5 |
+
class MessageMiddleware(MiddlewareMixin):
|
| 6 |
+
def process_request(self, request: HttpRequest) -> None: ...
|
| 7 |
+
def process_response(self, request: HttpRequest, response: HttpResponse) -> HttpResponse: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/messages/storage/base.pyi
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, List, Optional
|
| 2 |
+
|
| 3 |
+
from django.http.request import HttpRequest
|
| 4 |
+
from django.http.response import HttpResponseBase
|
| 5 |
+
|
| 6 |
+
LEVEL_TAGS: Any
|
| 7 |
+
|
| 8 |
+
class Message:
|
| 9 |
+
level: int = ...
|
| 10 |
+
message: str = ...
|
| 11 |
+
extra_tags: str = ...
|
| 12 |
+
def __init__(self, level: int, message: str, extra_tags: Optional[str] = ...) -> None: ...
|
| 13 |
+
@property
|
| 14 |
+
def tags(self) -> str: ...
|
| 15 |
+
@property
|
| 16 |
+
def level_tag(self) -> str: ...
|
| 17 |
+
|
| 18 |
+
class BaseStorage:
|
| 19 |
+
request: HttpRequest = ...
|
| 20 |
+
used: bool = ...
|
| 21 |
+
added_new: bool = ...
|
| 22 |
+
def __init__(self, request: HttpRequest, *args: Any, **kwargs: Any) -> None: ...
|
| 23 |
+
def __len__(self) -> int: ...
|
| 24 |
+
def __iter__(self): ...
|
| 25 |
+
def __contains__(self, item: Any): ...
|
| 26 |
+
def update(self, response: HttpResponseBase) -> Optional[List[Message]]: ...
|
| 27 |
+
def add(self, level: int, message: str, extra_tags: Optional[str] = ...) -> None: ...
|
| 28 |
+
level: Any = ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/messages/utils.pyi
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Dict
|
| 2 |
+
|
| 3 |
+
def get_level_tags() -> Dict[int, str]: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/messages/views.pyi
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Dict
|
| 2 |
+
|
| 3 |
+
from django.forms.forms import BaseForm
|
| 4 |
+
from django.http.response import HttpResponse
|
| 5 |
+
|
| 6 |
+
class SuccessMessageMixin:
|
| 7 |
+
success_message: str = ...
|
| 8 |
+
def form_valid(self, form: BaseForm) -> HttpResponse: ...
|
| 9 |
+
def get_success_message(self, cleaned_data: Dict[str, str]) -> str: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/postgres/__init__.pyi
ADDED
|
File without changes
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/postgres/fields/__init__.pyi
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from .array import ArrayField as ArrayField
|
| 2 |
+
from .jsonb import JSONField as JSONField, JsonAdapter as JsonAdapter
|
| 3 |
+
from .ranges import (
|
| 4 |
+
RangeField as RangeField,
|
| 5 |
+
IntegerRangeField as IntegerRangeField,
|
| 6 |
+
BigIntegerRangeField as BigIntegerRangeField,
|
| 7 |
+
DecimalRangeField as DecimalRangeField,
|
| 8 |
+
FloatRangeField as FloatRangeField,
|
| 9 |
+
DateRangeField as DateRangeField,
|
| 10 |
+
DateTimeRangeField as DateTimeRangeField,
|
| 11 |
+
RangeOperators as RangeOperators,
|
| 12 |
+
RangeBoundary as RangeBoundary,
|
| 13 |
+
)
|
| 14 |
+
from .hstore import HStoreField as HStoreField
|
| 15 |
+
from .citext import (
|
| 16 |
+
CICharField as CICharField,
|
| 17 |
+
CIEmailField as CIEmailField,
|
| 18 |
+
CIText as CIText,
|
| 19 |
+
CITextField as CITextField,
|
| 20 |
+
)
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/postgres/fields/array.pyi
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Iterable, List, Optional, Sequence, TypeVar, Union
|
| 2 |
+
|
| 3 |
+
from django.db.models.expressions import Combinable
|
| 4 |
+
from django.db.models.fields import Field, _ErrorMessagesToOverride, _FieldChoices, _ValidatorCallable
|
| 5 |
+
|
| 6 |
+
from .mixins import CheckFieldDefaultMixin
|
| 7 |
+
|
| 8 |
+
# __set__ value type
|
| 9 |
+
_ST = TypeVar("_ST")
|
| 10 |
+
# __get__ return type
|
| 11 |
+
_GT = TypeVar("_GT")
|
| 12 |
+
|
| 13 |
+
class ArrayField(CheckFieldDefaultMixin, Field[_ST, _GT]):
|
| 14 |
+
_pyi_private_set_type: Union[Sequence[Any], Combinable]
|
| 15 |
+
_pyi_private_get_type: List[Any]
|
| 16 |
+
|
| 17 |
+
empty_strings_allowed: bool = ...
|
| 18 |
+
default_error_messages: Any = ...
|
| 19 |
+
base_field: Any = ...
|
| 20 |
+
size: Any = ...
|
| 21 |
+
default_validators: Any = ...
|
| 22 |
+
from_db_value: Any = ...
|
| 23 |
+
def __init__(
|
| 24 |
+
self,
|
| 25 |
+
base_field: Field,
|
| 26 |
+
size: Optional[int] = ...,
|
| 27 |
+
verbose_name: Optional[Union[str, bytes]] = ...,
|
| 28 |
+
name: Optional[str] = ...,
|
| 29 |
+
primary_key: bool = ...,
|
| 30 |
+
max_length: Optional[int] = ...,
|
| 31 |
+
unique: bool = ...,
|
| 32 |
+
blank: bool = ...,
|
| 33 |
+
null: bool = ...,
|
| 34 |
+
db_index: bool = ...,
|
| 35 |
+
default: Any = ...,
|
| 36 |
+
editable: bool = ...,
|
| 37 |
+
auto_created: bool = ...,
|
| 38 |
+
serialize: bool = ...,
|
| 39 |
+
unique_for_date: Optional[str] = ...,
|
| 40 |
+
unique_for_month: Optional[str] = ...,
|
| 41 |
+
unique_for_year: Optional[str] = ...,
|
| 42 |
+
choices: Optional[_FieldChoices] = ...,
|
| 43 |
+
help_text: str = ...,
|
| 44 |
+
db_column: Optional[str] = ...,
|
| 45 |
+
db_tablespace: Optional[str] = ...,
|
| 46 |
+
validators: Iterable[_ValidatorCallable] = ...,
|
| 47 |
+
error_messages: Optional[_ErrorMessagesToOverride] = ...,
|
| 48 |
+
) -> None: ...
|
| 49 |
+
@property
|
| 50 |
+
def description(self): ...
|
| 51 |
+
def get_transform(self, name: Any): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/postgres/fields/mixins.pyi
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, List
|
| 2 |
+
|
| 3 |
+
class CheckFieldDefaultMixin:
|
| 4 |
+
def check(self, **kwargs: Any) -> List[Any]: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/postgres/functions.pyi
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from django.db.models import Func
|
| 2 |
+
|
| 3 |
+
class RandomUUID(Func): ...
|
| 4 |
+
class TransactionNow(Func): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/postgres/indexes.pyi
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Optional, Sequence
|
| 2 |
+
|
| 3 |
+
from django.db.models.query_utils import Q
|
| 4 |
+
|
| 5 |
+
from django.db.models import Index
|
| 6 |
+
|
| 7 |
+
class PostgresIndex(Index): ...
|
| 8 |
+
|
| 9 |
+
class BrinIndex(PostgresIndex):
|
| 10 |
+
def __init__(
|
| 11 |
+
self,
|
| 12 |
+
*,
|
| 13 |
+
autosummarize: Optional[bool] = ...,
|
| 14 |
+
pages_per_range: Optional[int] = ...,
|
| 15 |
+
fields: Sequence[str] = ...,
|
| 16 |
+
name: Optional[str] = ...,
|
| 17 |
+
db_tablespace: Optional[str] = ...,
|
| 18 |
+
opclasses: Sequence[str] = ...,
|
| 19 |
+
condition: Optional[Q] = ...
|
| 20 |
+
) -> None: ...
|
| 21 |
+
|
| 22 |
+
class BTreeIndex(PostgresIndex):
|
| 23 |
+
def __init__(
|
| 24 |
+
self,
|
| 25 |
+
*,
|
| 26 |
+
fillfactor: Optional[int] = ...,
|
| 27 |
+
fields: Sequence[str] = ...,
|
| 28 |
+
name: Optional[str] = ...,
|
| 29 |
+
db_tablespace: Optional[str] = ...,
|
| 30 |
+
opclasses: Sequence[str] = ...,
|
| 31 |
+
condition: Optional[Q] = ...
|
| 32 |
+
) -> None: ...
|
| 33 |
+
|
| 34 |
+
class GinIndex(PostgresIndex):
|
| 35 |
+
def __init__(
|
| 36 |
+
self,
|
| 37 |
+
*,
|
| 38 |
+
fastupdate: Optional[bool] = ...,
|
| 39 |
+
gin_pending_list_limit: Optional[int] = ...,
|
| 40 |
+
fields: Sequence[str] = ...,
|
| 41 |
+
name: Optional[str] = ...,
|
| 42 |
+
db_tablespace: Optional[str] = ...,
|
| 43 |
+
opclasses: Sequence[str] = ...,
|
| 44 |
+
condition: Optional[Q] = ...
|
| 45 |
+
) -> None: ...
|
| 46 |
+
|
| 47 |
+
class GistIndex(PostgresIndex):
|
| 48 |
+
def __init__(
|
| 49 |
+
self,
|
| 50 |
+
*,
|
| 51 |
+
buffering: Optional[bool] = ...,
|
| 52 |
+
fillfactor: Optional[int] = ...,
|
| 53 |
+
fields: Sequence[str] = ...,
|
| 54 |
+
name: Optional[str] = ...,
|
| 55 |
+
db_tablespace: Optional[str] = ...,
|
| 56 |
+
opclasses: Sequence[str] = ...,
|
| 57 |
+
condition: Optional[Q] = ...
|
| 58 |
+
) -> None: ...
|
| 59 |
+
|
| 60 |
+
class HashIndex(PostgresIndex):
|
| 61 |
+
def __init__(
|
| 62 |
+
self,
|
| 63 |
+
*,
|
| 64 |
+
fillfactor: Optional[int] = ...,
|
| 65 |
+
fields: Sequence[str] = ...,
|
| 66 |
+
name: Optional[str] = ...,
|
| 67 |
+
db_tablespace: Optional[str] = ...,
|
| 68 |
+
opclasses: Sequence[str] = ...,
|
| 69 |
+
condition: Optional[Q] = ...
|
| 70 |
+
) -> None: ...
|
| 71 |
+
|
| 72 |
+
class SpGistIndex(PostgresIndex):
|
| 73 |
+
def __init__(
|
| 74 |
+
self,
|
| 75 |
+
*,
|
| 76 |
+
fillfactor: Optional[int] = ...,
|
| 77 |
+
fields: Sequence[str] = ...,
|
| 78 |
+
name: Optional[str] = ...,
|
| 79 |
+
db_tablespace: Optional[str] = ...,
|
| 80 |
+
opclasses: Sequence[str] = ...,
|
| 81 |
+
condition: Optional[Q] = ...
|
| 82 |
+
) -> None: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/postgres/operations.pyi
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from django.db.migrations.operations.base import Operation
|
| 2 |
+
|
| 3 |
+
class CreateExtension(Operation):
|
| 4 |
+
reversible: bool = ...
|
| 5 |
+
name: str = ...
|
| 6 |
+
def __init__(self, name: str) -> None: ...
|
| 7 |
+
|
| 8 |
+
class BtreeGinExtension(CreateExtension):
|
| 9 |
+
def __init__(self) -> None: ...
|
| 10 |
+
|
| 11 |
+
class BtreeGistExtension(CreateExtension):
|
| 12 |
+
def __init__(self) -> None: ...
|
| 13 |
+
|
| 14 |
+
class CITextExtension(CreateExtension):
|
| 15 |
+
def __init__(self) -> None: ...
|
| 16 |
+
|
| 17 |
+
class CryptoExtension(CreateExtension):
|
| 18 |
+
def __init__(self) -> None: ...
|
| 19 |
+
|
| 20 |
+
class HStoreExtension(CreateExtension):
|
| 21 |
+
def __init__(self) -> None: ...
|
| 22 |
+
|
| 23 |
+
class TrigramExtension(CreateExtension):
|
| 24 |
+
def __init__(self) -> None: ...
|
| 25 |
+
|
| 26 |
+
class UnaccentExtension(CreateExtension):
|
| 27 |
+
def __init__(self) -> None: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/postgres/signals.pyi
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Tuple
|
| 2 |
+
|
| 3 |
+
def get_hstore_oids(connection_alias: str) -> Tuple[Any, ...]: ...
|
| 4 |
+
def get_citext_oids(connection_alias: str) -> Tuple[Any, ...]: ...
|
| 5 |
+
def register_type_handlers(connection: Any, **kwargs: Any) -> None: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/postgres/validators.pyi
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Dict, Iterable, Mapping, Optional
|
| 2 |
+
|
| 3 |
+
from django.core.validators import MaxLengthValidator, MaxValueValidator, MinLengthValidator, MinValueValidator
|
| 4 |
+
|
| 5 |
+
class ArrayMaxLengthValidator(MaxLengthValidator): ...
|
| 6 |
+
class ArrayMinLengthValidator(MinLengthValidator): ...
|
| 7 |
+
|
| 8 |
+
class KeysValidator:
|
| 9 |
+
messages: Dict[str, str] = ...
|
| 10 |
+
strict: bool = ...
|
| 11 |
+
def __init__(
|
| 12 |
+
self, keys: Iterable[str], strict: bool = ..., messages: Optional[Mapping[str, str]] = ...
|
| 13 |
+
) -> None: ...
|
| 14 |
+
def __call__(self, value: Any) -> None: ...
|
| 15 |
+
|
| 16 |
+
class RangeMaxValueValidator(MaxValueValidator): ...
|
| 17 |
+
class RangeMinValueValidator(MinValueValidator): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sessions/__init__.pyi
ADDED
|
File without changes
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sessions/backends/cached_db.pyi
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
from django.contrib.sessions.backends.db import SessionStore as DBStore
|
| 4 |
+
|
| 5 |
+
KEY_PREFIX: str
|
| 6 |
+
|
| 7 |
+
class SessionStore(DBStore):
|
| 8 |
+
cache_key_prefix: Any = ...
|
| 9 |
+
def __init__(self, session_key: Optional[str] = ...) -> None: ...
|
| 10 |
+
@property
|
| 11 |
+
def cache_key(self) -> str: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sessions/base_session.pyi
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from datetime import datetime
|
| 2 |
+
from typing import Any, Dict, Optional, Type
|
| 3 |
+
|
| 4 |
+
from django.contrib.sessions.backends.base import SessionBase
|
| 5 |
+
|
| 6 |
+
from django.db import models
|
| 7 |
+
|
| 8 |
+
class BaseSessionManager(models.Manager):
|
| 9 |
+
def encode(self, session_dict: Dict[str, int]) -> str: ...
|
| 10 |
+
def save(self, session_key: str, session_dict: Dict[str, int], expire_date: datetime) -> AbstractBaseSession: ...
|
| 11 |
+
|
| 12 |
+
class AbstractBaseSession(models.Model):
|
| 13 |
+
expire_date: datetime
|
| 14 |
+
session_data: str
|
| 15 |
+
session_key: str
|
| 16 |
+
objects: Any = ...
|
| 17 |
+
@classmethod
|
| 18 |
+
def get_session_store_class(cls) -> Optional[Type[SessionBase]]: ...
|
| 19 |
+
def get_decoded(self) -> Dict[str, int]: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sessions/exceptions.pyi
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from django.core.exceptions import SuspiciousOperation
|
| 2 |
+
|
| 3 |
+
class InvalidSessionKey(SuspiciousOperation): ...
|
| 4 |
+
class SuspiciousSession(SuspiciousOperation): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sessions/middleware.pyi
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Type
|
| 2 |
+
|
| 3 |
+
from django.contrib.sessions.backends.base import SessionBase
|
| 4 |
+
from django.http.request import HttpRequest
|
| 5 |
+
from django.http.response import HttpResponse
|
| 6 |
+
from django.utils.deprecation import MiddlewareMixin
|
| 7 |
+
|
| 8 |
+
class SessionMiddleware(MiddlewareMixin):
|
| 9 |
+
SessionStore: Type[SessionBase] = ...
|
| 10 |
+
def process_request(self, request: HttpRequest) -> None: ...
|
| 11 |
+
def process_response(self, request: HttpRequest, response: HttpResponse) -> HttpResponse: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sessions/models.pyi
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from django.contrib.sessions.base_session import AbstractBaseSession, BaseSessionManager
|
| 2 |
+
|
| 3 |
+
class SessionManager(BaseSessionManager): ...
|
| 4 |
+
class Session(AbstractBaseSession): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sessions/serializers.pyi
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Dict
|
| 2 |
+
|
| 3 |
+
from django.core.signing import JSONSerializer as BaseJSONSerializer
|
| 4 |
+
from django.db.models.base import Model
|
| 5 |
+
|
| 6 |
+
class PickleSerializer:
|
| 7 |
+
def dumps(self, obj: Dict[str, Model]) -> bytes: ...
|
| 8 |
+
def loads(self, data: bytes) -> Dict[str, Model]: ...
|
| 9 |
+
|
| 10 |
+
JSONSerializer = BaseJSONSerializer
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sites/apps.pyi
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from django.apps import AppConfig
|
| 2 |
+
|
| 3 |
+
class SitesConfig(AppConfig): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sites/management.pyi
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
from django.apps.config import AppConfig
|
| 4 |
+
from django.apps.registry import Apps
|
| 5 |
+
|
| 6 |
+
def create_default_site(
|
| 7 |
+
app_config: AppConfig,
|
| 8 |
+
verbosity: int = ...,
|
| 9 |
+
interactive: bool = ...,
|
| 10 |
+
using: str = ...,
|
| 11 |
+
apps: Apps = ...,
|
| 12 |
+
**kwargs: Any
|
| 13 |
+
) -> None: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sites/models.pyi
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional, Tuple, Type
|
| 2 |
+
|
| 3 |
+
from django.http.request import HttpRequest
|
| 4 |
+
|
| 5 |
+
from django.db import models
|
| 6 |
+
|
| 7 |
+
SITE_CACHE: Any
|
| 8 |
+
|
| 9 |
+
class SiteManager(models.Manager["Site"]):
|
| 10 |
+
def get_current(self, request: Optional[HttpRequest] = ...) -> Site: ...
|
| 11 |
+
def clear_cache(self) -> None: ...
|
| 12 |
+
def get_by_natural_key(self, domain: str) -> Site: ...
|
| 13 |
+
|
| 14 |
+
class Site(models.Model):
|
| 15 |
+
objects: SiteManager
|
| 16 |
+
|
| 17 |
+
domain = models.CharField(max_length=100)
|
| 18 |
+
name = models.CharField(max_length=50)
|
| 19 |
+
def natural_key(self) -> Tuple[str]: ...
|
| 20 |
+
|
| 21 |
+
def clear_site_cache(sender: Type[Site], **kwargs: Any) -> None: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sites/shortcuts.pyi
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Optional, Union
|
| 2 |
+
|
| 3 |
+
from django.contrib.sites.models import Site
|
| 4 |
+
from django.contrib.sites.requests import RequestSite
|
| 5 |
+
from django.http.request import HttpRequest
|
| 6 |
+
|
| 7 |
+
def get_current_site(request: Optional[HttpRequest]) -> Union[Site, RequestSite]: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/staticfiles/management/commands/collectstatic.pyi
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Dict, List
|
| 2 |
+
|
| 3 |
+
from django.core.files.storage import Storage
|
| 4 |
+
from django.core.management.base import BaseCommand
|
| 5 |
+
|
| 6 |
+
class Command(BaseCommand):
|
| 7 |
+
copied_files: Any = ...
|
| 8 |
+
symlinked_files: Any = ...
|
| 9 |
+
unmodified_files: Any = ...
|
| 10 |
+
post_processed_files: Any = ...
|
| 11 |
+
storage: Any = ...
|
| 12 |
+
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
|
| 13 |
+
def local(self) -> bool: ...
|
| 14 |
+
interactive: Any = ...
|
| 15 |
+
verbosity: Any = ...
|
| 16 |
+
symlink: Any = ...
|
| 17 |
+
clear: Any = ...
|
| 18 |
+
dry_run: Any = ...
|
| 19 |
+
ignore_patterns: Any = ...
|
| 20 |
+
post_process: Any = ...
|
| 21 |
+
def set_options(self, **options: Any) -> None: ...
|
| 22 |
+
def collect(self) -> Dict[str, List[str]]: ...
|
| 23 |
+
def log(self, msg: str, level: int = ...) -> None: ...
|
| 24 |
+
def is_local_storage(self) -> bool: ...
|
| 25 |
+
def clear_dir(self, path: str) -> None: ...
|
| 26 |
+
def delete_file(self, path: str, prefixed_path: str, source_storage: Storage) -> bool: ...
|
| 27 |
+
def link_file(self, path: str, prefixed_path: str, source_storage: Storage) -> None: ...
|
| 28 |
+
def copy_file(self, path: str, prefixed_path: str, source_storage: Storage) -> None: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/staticfiles/management/commands/findstatic.pyi
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from django.core.management.base import LabelCommand
|
| 2 |
+
|
| 3 |
+
class Command(LabelCommand): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/staticfiles/management/commands/runserver.pyi
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from django.core.management.commands.runserver import Command as RunserverCommand # type: ignore
|
| 2 |
+
|
| 3 |
+
class Command(RunserverCommand): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/core/cache/__init__.pyi
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from collections import OrderedDict
|
| 2 |
+
from typing import Any, Callable, Dict, Union
|
| 3 |
+
|
| 4 |
+
from .backends.base import (
|
| 5 |
+
BaseCache as BaseCache,
|
| 6 |
+
CacheKeyWarning as CacheKeyWarning,
|
| 7 |
+
InvalidCacheBackendError as InvalidCacheBackendError,
|
| 8 |
+
)
|
| 9 |
+
|
| 10 |
+
DEFAULT_CACHE_ALIAS: str
|
| 11 |
+
|
| 12 |
+
class CacheHandler:
|
| 13 |
+
def __init__(self) -> None: ...
|
| 14 |
+
def __getitem__(self, alias: str) -> BaseCache: ...
|
| 15 |
+
def all(self): ...
|
| 16 |
+
|
| 17 |
+
class DefaultCacheProxy:
|
| 18 |
+
def __getattr__(self, name: str) -> Union[Callable, Dict[str, float], OrderedDict, int]: ...
|
| 19 |
+
def __setattr__(self, name: str, value: Callable) -> None: ...
|
| 20 |
+
def __delattr__(self, name: Any): ...
|
| 21 |
+
def __contains__(self, key: str) -> bool: ...
|
| 22 |
+
|
| 23 |
+
cache: Any
|
| 24 |
+
caches: CacheHandler
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/core/cache/backends/db.pyi
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Dict
|
| 2 |
+
|
| 3 |
+
from django.core.cache.backends.base import BaseCache
|
| 4 |
+
|
| 5 |
+
class Options:
|
| 6 |
+
db_table: str = ...
|
| 7 |
+
app_label: str = ...
|
| 8 |
+
model_name: str = ...
|
| 9 |
+
verbose_name: str = ...
|
| 10 |
+
verbose_name_plural: str = ...
|
| 11 |
+
object_name: str = ...
|
| 12 |
+
abstract: bool = ...
|
| 13 |
+
managed: bool = ...
|
| 14 |
+
proxy: bool = ...
|
| 15 |
+
swapped: bool = ...
|
| 16 |
+
def __init__(self, table: str) -> None: ...
|
| 17 |
+
|
| 18 |
+
class BaseDatabaseCache(BaseCache):
|
| 19 |
+
cache_model_class: Any = ...
|
| 20 |
+
def __init__(self, table: str, params: Dict[str, Any]) -> None: ...
|
| 21 |
+
|
| 22 |
+
class DatabaseCache(BaseDatabaseCache): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/core/cache/backends/dummy.pyi
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
from django.core.cache.backends.base import BaseCache
|
| 4 |
+
|
| 5 |
+
class DummyCache(BaseCache):
|
| 6 |
+
def __init__(self, host: str, *args: Any, **kwargs: Any) -> None: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/core/cache/backends/filebased.pyi
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Dict
|
| 2 |
+
|
| 3 |
+
from django.core.cache.backends.base import BaseCache
|
| 4 |
+
|
| 5 |
+
class FileBasedCache(BaseCache):
|
| 6 |
+
cache_suffix: str = ...
|
| 7 |
+
def __init__(self, dir: str, params: Dict[str, Any]) -> None: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/core/cache/backends/memcached.pyi
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from django.core.cache.backends.base import BaseCache
|
| 2 |
+
|
| 3 |
+
class BaseMemcachedCache(BaseCache):
|
| 4 |
+
def __init__(self, server, params, library, value_not_found_exception) -> None: ...
|
| 5 |
+
|
| 6 |
+
class MemcachedCache(BaseMemcachedCache):
|
| 7 |
+
def __init__(self, server, params): ...
|
| 8 |
+
|
| 9 |
+
class PyLibMCCache(BaseMemcachedCache):
|
| 10 |
+
def __init__(self, server, params): ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/core/cache/utils.pyi
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Iterable, Optional
|
| 2 |
+
|
| 3 |
+
TEMPLATE_FRAGMENT_KEY_TEMPLATE: str
|
| 4 |
+
|
| 5 |
+
def make_template_fragment_key(fragment_name: str, vary_on: Optional[Iterable[Any]] = ...) -> str: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/utils/baseconv.pyi
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Tuple, Union
|
| 2 |
+
|
| 3 |
+
BASE2_ALPHABET: str
|
| 4 |
+
BASE16_ALPHABET: str
|
| 5 |
+
BASE56_ALPHABET: str
|
| 6 |
+
BASE36_ALPHABET: str
|
| 7 |
+
BASE62_ALPHABET: str
|
| 8 |
+
BASE64_ALPHABET: Any
|
| 9 |
+
|
| 10 |
+
class BaseConverter:
|
| 11 |
+
decimal_digits: str = ...
|
| 12 |
+
sign: str = ...
|
| 13 |
+
digits: str = ...
|
| 14 |
+
def __init__(self, digits: str, sign: str = ...) -> None: ...
|
| 15 |
+
def encode(self, i: int) -> str: ...
|
| 16 |
+
def decode(self, s: str) -> int: ...
|
| 17 |
+
def convert(self, number: Union[int, str], from_digits: str, to_digits: str, sign: str) -> Tuple[int, str]: ...
|
| 18 |
+
|
| 19 |
+
base2: Any
|
| 20 |
+
base16: Any
|
| 21 |
+
base36: Any
|
| 22 |
+
base56: Any
|
| 23 |
+
base62: Any
|
| 24 |
+
base64: Any
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/utils/crypto.pyi
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from hmac import HMAC
|
| 2 |
+
from typing import Callable, Optional, Union
|
| 3 |
+
|
| 4 |
+
using_sysrandom: bool
|
| 5 |
+
|
| 6 |
+
def salted_hmac(key_salt: str, value: Union[bytes, str], secret: Optional[Union[bytes, str]] = ...) -> HMAC: ...
|
| 7 |
+
def get_random_string(length: int = ..., allowed_chars: str = ...) -> str: ...
|
| 8 |
+
def constant_time_compare(val1: Union[bytes, str], val2: Union[bytes, str]) -> bool: ...
|
| 9 |
+
def pbkdf2(
|
| 10 |
+
password: Union[bytes, str],
|
| 11 |
+
salt: Union[bytes, str],
|
| 12 |
+
iterations: int,
|
| 13 |
+
dklen: int = ...,
|
| 14 |
+
digest: Optional[Callable] = ...,
|
| 15 |
+
) -> bytes: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/utils/datetime_safe.pyi
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from datetime import date as real_date, datetime as real_datetime, time as real_time
|
| 2 |
+
from typing import Union
|
| 3 |
+
|
| 4 |
+
class date(real_date): ...
|
| 5 |
+
class datetime(real_datetime): ...
|
| 6 |
+
class time(real_time): ...
|
| 7 |
+
|
| 8 |
+
def new_date(d: date) -> date: ...
|
| 9 |
+
def new_datetime(d: date) -> datetime: ...
|
| 10 |
+
def strftime(dt: Union[date, datetime], fmt: str) -> str: ...
|
material/dataset/xpsdeeplearning/.venv/lib/python3.10/site-packages/jedi/third_party/django-stubs/django-stubs/utils/deconstruct.pyi
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
def deconstructible(*args: Any, path: Optional[Any] = ...) -> Any: ...
|