moose-lib 0.4.158__py3-none-any.whl → 0.4.160__py3-none-any.whl
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.
- moose_lib/data_models.py +5 -3
- {moose_lib-0.4.158.dist-info → moose_lib-0.4.160.dist-info}/METADATA +1 -1
- {moose_lib-0.4.158.dist-info → moose_lib-0.4.160.dist-info}/RECORD +5 -5
- {moose_lib-0.4.158.dist-info → moose_lib-0.4.160.dist-info}/WHEEL +0 -0
- {moose_lib-0.4.158.dist-info → moose_lib-0.4.160.dist-info}/top_level.txt +0 -0
moose_lib/data_models.py
CHANGED
@@ -5,8 +5,9 @@ from enum import Enum
|
|
5
5
|
from uuid import UUID
|
6
6
|
from datetime import datetime, date
|
7
7
|
|
8
|
-
from typing import Literal, Tuple, Union, Any, get_origin, get_args, TypeAliasType, Annotated, Type
|
9
|
-
|
8
|
+
from typing import Literal, Tuple, Union, Any, get_origin, get_args, TypeAliasType, Annotated, Type, _BaseGenericAlias, \
|
9
|
+
GenericAlias
|
10
|
+
from pydantic import BaseModel, Field, PlainSerializer, GetCoreSchemaHandler, ConfigDict
|
10
11
|
from pydantic_core import CoreSchema, core_schema
|
11
12
|
|
12
13
|
type Key[T: (str, int)] = T
|
@@ -34,8 +35,9 @@ def clickhouse_datetime64(precision: int) -> Type[datetime]:
|
|
34
35
|
|
35
36
|
|
36
37
|
class AggregateFunction(BaseModel):
|
38
|
+
model_config = ConfigDict(arbitrary_types_allowed=True)
|
37
39
|
agg_func: str
|
38
|
-
param_types: list[type]
|
40
|
+
param_types: list[type | GenericAlias | _BaseGenericAlias]
|
39
41
|
|
40
42
|
def to_dict(self):
|
41
43
|
return {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
moose_lib/__init__.py,sha256=VYCFk9Nlakd24JPEj7h1cMIeqjp0eofnmE-3jCtPwXM,138
|
2
2
|
moose_lib/blocks.py,sha256=_wdvC2NC_Y3MMEnB71WTgWbeQ--zPNHk19xjToJW0C0,3185
|
3
3
|
moose_lib/commons.py,sha256=BV5X78MuOWHiZV9bsWSN69JIvzTNWUi-gnuMiAtaO8A,2489
|
4
|
-
moose_lib/data_models.py,sha256=
|
4
|
+
moose_lib/data_models.py,sha256=uQWRv8Y8LYlhyP_UrpENzz2-eGZDYm5Fdr5-iqrQLMo,7436
|
5
5
|
moose_lib/dmv2-serializer.py,sha256=CL_Pvvg8tJOT8Qk6hywDNzY8MYGhMVdTOw8arZi3jng,49
|
6
6
|
moose_lib/dmv2.py,sha256=AH5IxPK2MVOL4feXESq-4-gPcvygwRxYi0sl1SFzEko,27834
|
7
7
|
moose_lib/internal.py,sha256=URimCqQUW2aUnTmhsXWW2IHt6Gy_xuDih5fVH8SPHDI,12159
|
@@ -13,7 +13,7 @@ moose_lib/streaming/streaming_function_runner.py,sha256=UbMQhbJcQOoyit8HTNnt215h
|
|
13
13
|
tests/__init__.py,sha256=0Gh4yzPkkC3TzBGKhenpMIxJcRhyrrCfxLSfpTZnPMQ,53
|
14
14
|
tests/conftest.py,sha256=ZVJNbnr4DwbcqkTmePW6U01zAzE6QD0kNAEZjPG1f4s,169
|
15
15
|
tests/test_moose.py,sha256=mBsx_OYWmL8ppDzL_7Bd7xR6qf_i3-pCIO3wm2iQNaA,2136
|
16
|
-
moose_lib-0.4.
|
17
|
-
moose_lib-0.4.
|
18
|
-
moose_lib-0.4.
|
19
|
-
moose_lib-0.4.
|
16
|
+
moose_lib-0.4.160.dist-info/METADATA,sha256=zXgV6-o06hpx1ChI1VBffQV4szu5KLnOMDsA5Js1zzY,575
|
17
|
+
moose_lib-0.4.160.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
18
|
+
moose_lib-0.4.160.dist-info/top_level.txt,sha256=XEns2-4aCmGp2XjJAeEH9TAUcGONLnSLy6ycT9FSJh8,16
|
19
|
+
moose_lib-0.4.160.dist-info/RECORD,,
|
File without changes
|
File without changes
|