Files
django-stubs/django-stubs/contrib/gis/db/models/proxy.pyi
Na'aman Hirschfeld ce370ea79f Missing stubs (#467)
* adding missing db.backends typings and updated test

* added missing stubs

* reformatted files

* removed contrib.postgres.forms

* fixed test
2020-10-11 12:14:08 +03:00

8 lines
346 B
Python

from django.db.models.query_utils import DeferredAttribute
from typing import Any, Optional
class SpatialProxy(DeferredAttribute):
def __init__(self, klass: Any, field: Any, load_func: Optional[Any] = ...) -> None: ...
def __get__(self, instance: Any, cls: Optional[Any] = ...): ...
def __set__(self, instance: Any, value: Any): ...