Update stubs

This commit is contained in:
Trinh Anh Ngoc
2024-05-01 14:16:03 +07:00
parent 1157b4dc57
commit 4fee8958e1

View File

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