appier 1.34.3__py2.py3-none-any.whl → 1.34.5__py2.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.
- appier/base.py +2 -1
- appier/base.pyi +7 -1
- appier/model.py +4 -0
- appier/model.pyi +20 -1
- {appier-1.34.3.dist-info → appier-1.34.5.dist-info}/METADATA +1 -1
- {appier-1.34.3.dist-info → appier-1.34.5.dist-info}/RECORD +9 -9
- {appier-1.34.3.dist-info → appier-1.34.5.dist-info}/LICENSE +0 -0
- {appier-1.34.3.dist-info → appier-1.34.5.dist-info}/WHEEL +0 -0
- {appier-1.34.3.dist-info → appier-1.34.5.dist-info}/top_level.txt +0 -0
appier/base.py
CHANGED
|
@@ -94,7 +94,7 @@ NAME = "appier"
|
|
|
94
94
|
""" The name to be used to describe the framework while working
|
|
95
95
|
on its own environment, this is just a descriptive value """
|
|
96
96
|
|
|
97
|
-
VERSION = "1.34.
|
|
97
|
+
VERSION = "1.34.5"
|
|
98
98
|
""" The version of the framework that is currently installed
|
|
99
99
|
this value may be used for debugging/diagnostic purposes """
|
|
100
100
|
|
|
@@ -780,6 +780,7 @@ class App(
|
|
|
780
780
|
def info_dict(self):
|
|
781
781
|
return dict(
|
|
782
782
|
name=self.name,
|
|
783
|
+
version=self.version,
|
|
783
784
|
instance=self.instance,
|
|
784
785
|
service=self.service,
|
|
785
786
|
type=self.type,
|
appier/base.pyi
CHANGED
|
@@ -58,7 +58,13 @@ class App:
|
|
|
58
58
|
asynchronous: bool = ...,
|
|
59
59
|
**kwargs
|
|
60
60
|
) -> str: ...
|
|
61
|
-
def cron(
|
|
61
|
+
def cron(
|
|
62
|
+
self,
|
|
63
|
+
job: JobFunction,
|
|
64
|
+
cron: Cron,
|
|
65
|
+
id: str | None = ...,
|
|
66
|
+
description: str | None = ...,
|
|
67
|
+
) -> SchedulerTask: ...
|
|
62
68
|
def is_loaded(self) -> bool: ...
|
|
63
69
|
def is_parent(self) -> bool: ...
|
|
64
70
|
def is_child(self) -> bool: ...
|
appier/model.py
CHANGED
|
@@ -2260,6 +2260,10 @@ class Model(legacy.with_meta(meta.Ordered, observer.Observable, *EXTRA_CLS)):
|
|
|
2260
2260
|
return result
|
|
2261
2261
|
return base
|
|
2262
2262
|
|
|
2263
|
+
@property
|
|
2264
|
+
def identity(self):
|
|
2265
|
+
return self._id
|
|
2266
|
+
|
|
2263
2267
|
@property
|
|
2264
2268
|
def request(self):
|
|
2265
2269
|
return common.base().get_request()
|
appier/model.pyi
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from typing import Callable, Self, Sequence
|
|
1
|
+
from typing import Any, Callable, Self, Sequence
|
|
2
2
|
from .base import App
|
|
3
3
|
|
|
4
4
|
class Model:
|
|
@@ -40,9 +40,28 @@ class Model:
|
|
|
40
40
|
before_callbacks: Sequence[Callable[[Self], None]] = ...,
|
|
41
41
|
after_callbacks: Sequence[Callable[[Self], None]] = ...,
|
|
42
42
|
) -> Self: ...
|
|
43
|
+
@property
|
|
44
|
+
def identity(self) -> Any: ...
|
|
43
45
|
...
|
|
44
46
|
|
|
45
47
|
class Field:
|
|
46
48
|
def __init__(self, *args, **kwargs): ...
|
|
47
49
|
|
|
50
|
+
def link(
|
|
51
|
+
name: str | None = ...,
|
|
52
|
+
description: str | None = ...,
|
|
53
|
+
parameters: tuple = ...,
|
|
54
|
+
context: bool = ...,
|
|
55
|
+
devel: bool = ...,
|
|
56
|
+
) -> Callable[[Callable], Callable]: ...
|
|
57
|
+
def operation(
|
|
58
|
+
name: str | None = ...,
|
|
59
|
+
description: str | None = ...,
|
|
60
|
+
parameters: tuple = ...,
|
|
61
|
+
kwargs: dict[str, Any] | None = ...,
|
|
62
|
+
factory: bool = ...,
|
|
63
|
+
level: int = ...,
|
|
64
|
+
devel: bool = ...,
|
|
65
|
+
) -> Callable[[Callable], Callable]: ...
|
|
66
|
+
|
|
48
67
|
field = Field
|
|
@@ -6,8 +6,8 @@ appier/async_neo.py,sha256=gQpyT1-nZE6Uynh5FEmFl5kfXkxChdUsgiKgwlaNw5E,5446
|
|
|
6
6
|
appier/async_old.py,sha256=m3BFqHVPCRuIZ9L2sGYhCQPEwuCNKBO2y7SKM0dbtj8,9194
|
|
7
7
|
appier/asynchronous.py,sha256=a1LQa3wbGMaXELhF7W71dRr1klPOj6x-ST9EInvPhtU,1757
|
|
8
8
|
appier/asynchronous.pyi,sha256=5CpLkpKcUq09woMOVYwpl24Pli0A8Xu6nXoT20xDQ-o,104
|
|
9
|
-
appier/base.py,sha256=
|
|
10
|
-
appier/base.pyi,sha256=
|
|
9
|
+
appier/base.py,sha256=LuPVRAq1tP_dEfZ928CHdo2bzpS_ScqLl1n6xEpkEJY,270665
|
|
10
|
+
appier/base.pyi,sha256=CwhdTt6lVGiXsXQewN1kkISD1YRNPCUf9U8fxYUVI3E,2924
|
|
11
11
|
appier/bus.py,sha256=AMC2UXlaf6rzhzlIyTHkzbfb6tdfPBiOii4lpl9AAwg,7670
|
|
12
12
|
appier/bus.pyi,sha256=W6_MIBpvDq468wfT5XM2WpPuR3O49QiZMOSCdMsJWos,182
|
|
13
13
|
appier/cache.py,sha256=V1nhf4aHJpUlcFtxVsd-2tGCt1BarkxvHWwVwuhc4Ao,10689
|
|
@@ -36,8 +36,8 @@ appier/legacy.py,sha256=o_oJ_2lqZELZKwkvfGt0aDam6ZSZiZiL7FYygNjrDbY,15881
|
|
|
36
36
|
appier/log.py,sha256=jhV7ub5nZwrLzY7x-tZDJfb8tcsXu-ndWxxrCspBUdU,12825
|
|
37
37
|
appier/meta.py,sha256=rgBLOjD6QU9CGYsbCQS3Fy4iY14uk1-Kd8ljkfmxxzc,7168
|
|
38
38
|
appier/mock.py,sha256=WoWa67rb8qV_ogToQJCdT0R-rCw9RUY24EkA4bYR1G4,5800
|
|
39
|
-
appier/model.py,sha256=
|
|
40
|
-
appier/model.pyi,sha256=
|
|
39
|
+
appier/model.py,sha256=bvqmwsK4B0A-H_ULvsHzQ4qqlQTEousVsjhZcBjOS84,121893
|
|
40
|
+
appier/model.pyi,sha256=Tib26mqYnNAOgsjRaov9T2CmV2pw6IJhdzMYUeN9HM4,1838
|
|
41
41
|
appier/model_a.py,sha256=c6XpG4oIelXNDK0uicsZ69-f6isUgmh5-29F61PZt9c,16176
|
|
42
42
|
appier/mongo.py,sha256=t-257ReqFWnEw0bQkDvS4McsPsc6AuKoQXIFHxlrOMw,10891
|
|
43
43
|
appier/observer.py,sha256=T0QpkxdkcNuEOZJdmJT5nFSJ2e-0VPbGveX5YKtt7mA,4519
|
|
@@ -92,8 +92,8 @@ appier/test/structures.py,sha256=MRjUFRlnJi-i7YGWW5y792JbJwicNvOIzVAS220tgeQ,836
|
|
|
92
92
|
appier/test/typesf.py,sha256=KHumQFzx7wPZSCb8_mpIwobhIy2Fh_0XYviwPjXMbKI,9680
|
|
93
93
|
appier/test/util.py,sha256=SSHuBAZQ0TcXLDYI0xUvmwId5nndDZb88s_5Y-Hqibw,46884
|
|
94
94
|
appier/test/validation.py,sha256=riOCsGKob1P5jnbcB5qGZ45ApimNAVS0byg9v_uUdrk,4952
|
|
95
|
-
appier-1.34.
|
|
96
|
-
appier-1.34.
|
|
97
|
-
appier-1.34.
|
|
98
|
-
appier-1.34.
|
|
99
|
-
appier-1.34.
|
|
95
|
+
appier-1.34.5.dist-info/LICENSE,sha256=Pd-b5cKP4n2tFDpdx27qJSIq0d1ok0oEcGTlbtL6QMU,11560
|
|
96
|
+
appier-1.34.5.dist-info/METADATA,sha256=CLK5mMM4o0GHPH0jWNYsWHwxazJm8qhb3vZotTUd5Ds,1920
|
|
97
|
+
appier-1.34.5.dist-info/WHEEL,sha256=kGT74LWyRUZrL4VgLh6_g12IeVl_9u9ZVhadrgXZUEY,110
|
|
98
|
+
appier-1.34.5.dist-info/top_level.txt,sha256=Z2e_Y1ya06a554WwQZkfNRiaaQxqsdaPtBzrck384Lo,7
|
|
99
|
+
appier-1.34.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|