Files
django-stubs/django-stubs/contrib/gis/gdal/field.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

62 lines
1.3 KiB
Python

from django.contrib.gis.gdal.base import GDALBase as GDALBase
from typing import Any
class Field(GDALBase):
ptr: Any = ...
__class__: Any = ...
def __init__(self, feat: Any, index: Any) -> None: ...
def as_double(self): ...
def as_int(self, is_64: bool = ...): ...
def as_string(self): ...
def as_datetime(self): ...
@property
def is_set(self): ...
@property
def name(self): ...
@property
def precision(self): ...
@property
def type(self): ...
@property
def type_name(self): ...
@property
def value(self): ...
@property
def width(self): ...
class OFTInteger(Field):
@property
def value(self): ...
@property
def type(self): ...
class OFTReal(Field):
@property
def value(self): ...
class OFTString(Field): ...
class OFTWideString(Field): ...
class OFTBinary(Field): ...
class OFTDate(Field):
@property
def value(self): ...
class OFTDateTime(Field):
@property
def value(self): ...
class OFTTime(Field):
@property
def value(self): ...
class OFTInteger64(OFTInteger): ...
class OFTIntegerList(Field): ...
class OFTRealList(Field): ...
class OFTStringList(Field): ...
class OFTWideStringList(Field): ...
class OFTInteger64List(Field): ...
OGRFieldTypes: Any
ROGRFieldTypes: Any