TypeDAL 5.0.4__tar.gz → 5.0.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {typedal-5.0.4 → typedal-5.0.5}/PKG-INFO +1 -1
- {typedal-5.0.4 → typedal-5.0.5}/pyproject.toml +1 -1
- {typedal-5.0.4 → typedal-5.0.5}/pyproject.toml.orig +1 -1
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/fields.py +2 -1
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/types.py +2 -2
- {typedal-5.0.4 → typedal-5.0.5}/README.md +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/__about__.py +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/__init__.py +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/asynchronous.py +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/caching.py +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/cli.py +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/config.py +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/constants.py +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/core.py +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/define.py +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/enum_helpers.py +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/for_py4web.py +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/for_web2py.py +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/helpers.py +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/mixins.py +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/py.typed +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/query_builder.py +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/relationships.py +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/rows.py +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/serializers/as_json.py +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/serializers/typescript.py +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/tables.py +0 -0
- {typedal-5.0.4 → typedal-5.0.5}/src/typedal/web2py_py4web_shared.py +0 -0
|
@@ -79,7 +79,7 @@ class TypedField[T_Value](Expression): # pragma: no cover
|
|
|
79
79
|
authorize: AnyCallable | None
|
|
80
80
|
autodelete: bool
|
|
81
81
|
requires: Validator | t.Iterable[Validator]
|
|
82
|
-
represent: t.Callable[[T_Value,
|
|
82
|
+
represent: t.Callable[[T_Value, t.Any], t.Any] # second argument is the model class but we can't type that
|
|
83
83
|
compute: AnyCallable | None
|
|
84
84
|
custom_store: AnyCallable | None
|
|
85
85
|
custom_retrieve: AnyCallable | None
|
|
@@ -514,6 +514,7 @@ def BigintField(**kw: t.Unpack[FieldSettings]) -> TypedField[int]:
|
|
|
514
514
|
|
|
515
515
|
Bigint = BigintField
|
|
516
516
|
|
|
517
|
+
|
|
517
518
|
## Custom:
|
|
518
519
|
|
|
519
520
|
|
|
@@ -203,11 +203,11 @@ class Field(_Field):
|
|
|
203
203
|
|
|
204
204
|
_rname: str
|
|
205
205
|
|
|
206
|
-
def __eq__(self, other: t.Any) -> Query: #
|
|
206
|
+
def __eq__(self, other: t.Any) -> Query: # ty: ignore[invalid-method-override]
|
|
207
207
|
"""Comparing fields produces a PyDAL query."""
|
|
208
208
|
return t.cast(Query, super().__eq__(other))
|
|
209
209
|
|
|
210
|
-
def __ne__(self, other: t.Any) -> Query: #
|
|
210
|
+
def __ne__(self, other: t.Any) -> Query: # ty: ignore[invalid-method-override]
|
|
211
211
|
"""Comparing fields produces a PyDAL query."""
|
|
212
212
|
return t.cast(Query, super().__ne__(other))
|
|
213
213
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|