Update stubs

This commit is contained in:
Trinh Anh Ngoc
2024-05-01 14:16:03 +07:00
parent 39e8c3c34f
commit bd9c3a720c

View File

@@ -1,6 +1,7 @@
import datetime import datetime
from typing import Any, Generic, Optional, TypeVar, overload from typing import Any, Generic, Optional, TypeVar, overload
from .api import Environment
from .models import BaseModel from .models import BaseModel
_FieldT = TypeVar("_FieldT", bound=Field) _FieldT = TypeVar("_FieldT", bound=Field)
@@ -196,6 +197,7 @@ class Selection(Field[str]):
@property @property
def column_type(self): ... def column_type(self): ...
selection: Any selection: Any
def _description_selection(self, env: Environment) -> list[tuple[str, str]]: ...
def get_values(self, env): ... def get_values(self, env): ...
def convert_to_cache(self, value, record, validate: bool = ...): ... def convert_to_cache(self, value, record, validate: bool = ...): ...
def convert_to_export(self, value, record): ... def convert_to_export(self, value, record): ...