fleet-python 0.2.36__py3-none-any.whl → 0.2.37__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.
Potentially problematic release.
This version of fleet-python might be problematic. Click here for more details.
- fleet/_async/tasks.py +8 -1
- fleet/tasks.py +8 -1
- {fleet_python-0.2.36.dist-info → fleet_python-0.2.37.dist-info}/METADATA +1 -1
- {fleet_python-0.2.36.dist-info → fleet_python-0.2.37.dist-info}/RECORD +7 -7
- {fleet_python-0.2.36.dist-info → fleet_python-0.2.37.dist-info}/WHEEL +0 -0
- {fleet_python-0.2.36.dist-info → fleet_python-0.2.37.dist-info}/licenses/LICENSE +0 -0
- {fleet_python-0.2.36.dist-info → fleet_python-0.2.37.dist-info}/top_level.txt +0 -0
fleet/_async/tasks.py
CHANGED
|
@@ -145,9 +145,16 @@ def verifier_from_string(
|
|
|
145
145
|
try:
|
|
146
146
|
import inspect
|
|
147
147
|
from .verifiers import verifier, AsyncVerifierFunction
|
|
148
|
+
from fleet.verifiers.code import TASK_SUCCESSFUL_SCORE, TASK_FAILED_SCORE
|
|
149
|
+
from fleet.verifiers.db import IgnoreConfig
|
|
148
150
|
|
|
149
151
|
# Create a local namespace for executing the code
|
|
150
|
-
local_namespace = {
|
|
152
|
+
local_namespace = {
|
|
153
|
+
'TASK_SUCCESSFUL_SCORE': TASK_SUCCESSFUL_SCORE,
|
|
154
|
+
'TASK_FAILED_SCORE': TASK_FAILED_SCORE,
|
|
155
|
+
'IgnoreConfig': IgnoreConfig,
|
|
156
|
+
'Environment': object # Add Environment type if needed
|
|
157
|
+
}
|
|
151
158
|
|
|
152
159
|
# Execute the verifier code in the namespace
|
|
153
160
|
exec(verifier_func, globals(), local_namespace)
|
fleet/tasks.py
CHANGED
|
@@ -144,9 +144,16 @@ def verifier_from_string(
|
|
|
144
144
|
try:
|
|
145
145
|
import inspect
|
|
146
146
|
from .verifiers import verifier, SyncVerifierFunction
|
|
147
|
+
from fleet.verifiers.code import TASK_SUCCESSFUL_SCORE, TASK_FAILED_SCORE
|
|
148
|
+
from fleet.verifiers.db import IgnoreConfig
|
|
147
149
|
|
|
148
150
|
# Create a local namespace for executing the code
|
|
149
|
-
local_namespace = {
|
|
151
|
+
local_namespace = {
|
|
152
|
+
'TASK_SUCCESSFUL_SCORE': TASK_SUCCESSFUL_SCORE,
|
|
153
|
+
'TASK_FAILED_SCORE': TASK_FAILED_SCORE,
|
|
154
|
+
'IgnoreConfig': IgnoreConfig,
|
|
155
|
+
'Environment': object # Add Environment type if needed
|
|
156
|
+
}
|
|
150
157
|
|
|
151
158
|
# Execute the verifier code in the namespace
|
|
152
159
|
exec(verifier_func, globals(), local_namespace)
|
|
@@ -26,7 +26,7 @@ fleet/config.py,sha256=uY02ZKxVoXqVDta-0IMWaYJeE1CTXF_fA9NI6QUutmU,319
|
|
|
26
26
|
fleet/exceptions.py,sha256=fUmPwWhnT8SR97lYsRq0kLHQHKtSh2eJS0VQ2caSzEI,5055
|
|
27
27
|
fleet/global_client.py,sha256=frrDAFNM2ywN0JHLtlm9qbE1dQpnQJsavJpb7xSR_bU,1072
|
|
28
28
|
fleet/models.py,sha256=9tDjgcgKPMnf-R_MDh-Ocp_UMbyJ8tJyjb15XqU0N94,12454
|
|
29
|
-
fleet/tasks.py,sha256=
|
|
29
|
+
fleet/tasks.py,sha256=6S15V1lZoXYFOVga2ca5nnXyFUQB3knHcGD4uLJbkww,7610
|
|
30
30
|
fleet/types.py,sha256=L4Y82xICf1tzyCLqhLYUgEoaIIS5h9T05TyFNHSWs3s,652
|
|
31
31
|
fleet/_async/__init__.py,sha256=lrnDD6N9p0Oqpi_djxTnxh8I5F7nA7KNn0khciGmgpg,6747
|
|
32
32
|
fleet/_async/base.py,sha256=oisVTQsx0M_yTmyQJc3oij63uKZ97MHz-xYFsWXxQE8,9202
|
|
@@ -34,7 +34,7 @@ fleet/_async/client.py,sha256=WNaBwHJWRrOyYB79_qujdKkRMPmhpSucHbfTic9uc6A,22335
|
|
|
34
34
|
fleet/_async/exceptions.py,sha256=fUmPwWhnT8SR97lYsRq0kLHQHKtSh2eJS0VQ2caSzEI,5055
|
|
35
35
|
fleet/_async/global_client.py,sha256=4WskpLHbsDEgWW7hXMD09W-brkp4euy8w2ZJ88594rQ,1103
|
|
36
36
|
fleet/_async/models.py,sha256=9tDjgcgKPMnf-R_MDh-Ocp_UMbyJ8tJyjb15XqU0N94,12454
|
|
37
|
-
fleet/_async/tasks.py,sha256=
|
|
37
|
+
fleet/_async/tasks.py,sha256=pY01ImjiX0CPWfTy0HcOUjLSeqzItigOhWUAAAiSj6M,7685
|
|
38
38
|
fleet/_async/env/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
39
39
|
fleet/_async/env/client.py,sha256=9GOSkEWNncwTtiZNaJ2vNGrFCPutyan9lBNhD87dAzQ,1059
|
|
40
40
|
fleet/_async/instance/__init__.py,sha256=PtmJq8J8bh0SOQ2V55QURz5GJfobozwtQoqhaOk3_tI,515
|
|
@@ -67,10 +67,10 @@ fleet/verifiers/decorator.py,sha256=nAP3O8szXu7md_kpwpz91hGSUNEVLYjwZQZTkQlV1DM,
|
|
|
67
67
|
fleet/verifiers/parse.py,sha256=0bAbj9VvT__yU4ZVREUK-Tn9dukh9LCpmfVsgj1DfP4,8508
|
|
68
68
|
fleet/verifiers/sql_differ.py,sha256=dmiGCFXVMEMbAX519OjhVqgA8ZvhnvdmC1BVpL7QCF0,6490
|
|
69
69
|
fleet/verifiers/verifier.py,sha256=53oBWAf0yy3bZmZx9eH9AWIf65H7OP2UUm0YwWCL6Mc,14286
|
|
70
|
-
fleet_python-0.2.
|
|
70
|
+
fleet_python-0.2.37.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
71
71
|
scripts/fix_sync_imports.py,sha256=X9fWLTpiPGkSHsjyQUDepOJkxOqw1DPj7nd8wFlFqLQ,8368
|
|
72
72
|
scripts/unasync.py,sha256=vWVQxRWX8SRZO5cmzEhpvnG_REhCWXpidIGIpWmEcvI,696
|
|
73
|
-
fleet_python-0.2.
|
|
74
|
-
fleet_python-0.2.
|
|
75
|
-
fleet_python-0.2.
|
|
76
|
-
fleet_python-0.2.
|
|
73
|
+
fleet_python-0.2.37.dist-info/METADATA,sha256=4xd5BDBKVjFMuve0RE5h-w1t_ikItOR0LOV7KQf6-Nw,3354
|
|
74
|
+
fleet_python-0.2.37.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
75
|
+
fleet_python-0.2.37.dist-info/top_level.txt,sha256=_3DSmTohvSDf3AIP_BYfGzhwO1ECFwuzg83X-wHCx3Y,23
|
|
76
|
+
fleet_python-0.2.37.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|