fleet-python 0.2.73__py3-none-any.whl → 0.2.74__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.
fleet/__init__.py CHANGED
@@ -73,7 +73,7 @@ from . import env
73
73
  from . import global_client as _global_client
74
74
  from ._async import global_client as _async_global_client
75
75
 
76
- __version__ = "0.2.72"
76
+ __version__ = "0.2.74"
77
77
 
78
78
  __all__ = [
79
79
  # Core classes
fleet/_async/__init__.py CHANGED
@@ -44,7 +44,7 @@ from ..types import VerifierFunction
44
44
  from .. import env
45
45
  from . import global_client as _async_global_client
46
46
 
47
- __version__ = "0.2.72"
47
+ __version__ = "0.2.74"
48
48
 
49
49
  __all__ = [
50
50
  # Core classes
fleet/_async/base.py CHANGED
@@ -26,7 +26,7 @@ from .exceptions import (
26
26
  try:
27
27
  from .. import __version__
28
28
  except ImportError:
29
- __version__ = "0.2.72"
29
+ __version__ = "0.2.74"
30
30
 
31
31
  logger = logging.getLogger(__name__)
32
32
 
@@ -138,7 +138,7 @@ class AsyncInstanceClient:
138
138
 
139
139
  async def _load_resources(self) -> None:
140
140
  if self._resources is None:
141
- response = await self.client.request("GET", "/resources", timeout=1.0)
141
+ response = await self.client.request("GET", "/resources")
142
142
  if response.status_code != 200:
143
143
  self._resources = []
144
144
  return
fleet/_async/tasks.py CHANGED
@@ -280,7 +280,7 @@ class Task(BaseModel):
280
280
 
281
281
 
282
282
  def verifier_from_string(
283
- verifier_func: str, verifier_id: str, verifier_key: str, sha256: str = ""
283
+ verifier_func: str, verifier_id: str, verifier_key: str, sha256: str = "", verifier_runtime_version: str = ""
284
284
  ) -> "VerifierFunction":
285
285
  """Create a verifier function from string code.
286
286
 
@@ -289,6 +289,7 @@ def verifier_from_string(
289
289
  verifier_id: Unique identifier for the verifier
290
290
  verifier_key: Key/name for the verifier
291
291
  sha256: SHA256 hash of the verifier code
292
+ verifier_runtime_version: Verifier runtime version
292
293
 
293
294
  Returns:
294
295
  VerifierFunction instance that can be used to verify tasks
@@ -381,6 +382,7 @@ def verifier_from_string(
381
382
  verifier_id=verifier_id,
382
383
  sha256=sha256,
383
384
  raw_code=verifier_func,
385
+ verifier_runtime_version=verifier_runtime_version if verifier_runtime_version else None,
384
386
  )
385
387
 
386
388
  return verifier_instance
fleet/base.py CHANGED
@@ -26,7 +26,7 @@ from .exceptions import (
26
26
  try:
27
27
  from . import __version__
28
28
  except ImportError:
29
- __version__ = "0.2.72"
29
+ __version__ = "0.2.74"
30
30
 
31
31
  logger = logging.getLogger(__name__)
32
32
 
fleet/instance/client.py CHANGED
@@ -136,7 +136,7 @@ class InstanceClient:
136
136
 
137
137
  def _load_resources(self) -> None:
138
138
  if self._resources is None:
139
- response = self.client.request("GET", "/resources", timeout=1.0)
139
+ response = self.client.request("GET", "/resources")
140
140
  if response.status_code != 200:
141
141
  self._resources = []
142
142
  return
fleet/tasks.py CHANGED
@@ -284,6 +284,7 @@ def verifier_from_string(
284
284
  verifier_id: Unique identifier for the verifier
285
285
  verifier_key: Key/name for the verifier
286
286
  sha256: SHA256 hash of the verifier code
287
+ verifier_runtime_version: Verifier runtime version
287
288
 
288
289
  Returns:
289
290
  VerifierFunction instance that can be used to verify tasks
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fleet-python
3
- Version: 0.2.73
3
+ Version: 0.2.74
4
4
  Summary: Python SDK for Fleet environments
5
5
  Author-email: Fleet AI <nic@fleet.so>
6
6
  License: Apache-2.0
@@ -23,27 +23,27 @@ examples/openai_simple_example.py,sha256=HmiufucrAZne7tHq9uoEsDWlEhjNC265bQAyIGB
23
23
  examples/query_builder_example.py,sha256=-cOMfWGNifYfYEt_Ds73XpwATZvFDL6F4KTkVxdMjzg,3951
24
24
  examples/quickstart.py,sha256=1VT39IRRhemsJgxi0O0gprdpcw7HB4pYO97GAYagIcg,3788
25
25
  examples/test_cdp_logging.py,sha256=AkCwQCgOTQEI8w3v0knWK_4eXMph7L9x07wj9yIYM10,2836
26
- fleet/__init__.py,sha256=g3iCjVyltxf8RE1h-7UKeGGpLuQW-mjdAG9zQ65qvS0,4218
27
- fleet/base.py,sha256=rn-Jpu37cw_ogMRaW6FWwDh_L6-807CJnBSkiJ_Ggxw,9609
26
+ fleet/__init__.py,sha256=HT5eQCzwVA1kOk--h6mLD3CgpEn3T9-Lh5nuhQMSR18,4218
27
+ fleet/base.py,sha256=q_woGzmH5uDg89rz7__JpJSjyxVjXsSzbr_w1Rc86mY,9609
28
28
  fleet/client.py,sha256=9NjDhcBA1iEqKvdahhgGN1p4OX-S8opWPyb0j7H662A,44205
29
29
  fleet/config.py,sha256=n_wh9Sahu3gGE7nHJ7kqNFUH1qDiBtF4bgZq9MvIBMU,319
30
30
  fleet/exceptions.py,sha256=fUmPwWhnT8SR97lYsRq0kLHQHKtSh2eJS0VQ2caSzEI,5055
31
31
  fleet/global_client.py,sha256=frrDAFNM2ywN0JHLtlm9qbE1dQpnQJsavJpb7xSR_bU,1072
32
32
  fleet/models.py,sha256=7ZRUVBT0_6tiJkotWLTj52oVaeDfP4OsjjkWJxhf8CA,15409
33
- fleet/tasks.py,sha256=7PqxpG_CRYJLiEFewpRPdiFU30Trc9B6UAAqKtF3iy4,20719
33
+ fleet/tasks.py,sha256=8pEzXmgC7RslqsMC_0s6shhr_t2WGIRpTRqo-MAQjdg,20778
34
34
  fleet/types.py,sha256=L4Y82xICf1tzyCLqhLYUgEoaIIS5h9T05TyFNHSWs3s,652
35
- fleet/_async/__init__.py,sha256=80CAiLFSyLyjdWNIdUNxdvTl0kqWH83505DuDCzFJzY,9101
36
- fleet/_async/base.py,sha256=tTn7AD4xH-9ZuwuGPmeH6dgQVP8r7abB90LykLTVGn0,9630
35
+ fleet/_async/__init__.py,sha256=O7EExDyg6uEcqclysEkfZ5ErL2XaeFnlnbO3mq9FZhc,9101
36
+ fleet/_async/base.py,sha256=oUvF_B5EUokUH6klB0yw0U-SyCIgjvRWoiJ6A_e9Txs,9630
37
37
  fleet/_async/client.py,sha256=eBB6c3NI3XY0S2Q-yj_QdN2zXdZsGXJgp9ROVpG6EY0,44266
38
38
  fleet/_async/exceptions.py,sha256=fUmPwWhnT8SR97lYsRq0kLHQHKtSh2eJS0VQ2caSzEI,5055
39
39
  fleet/_async/global_client.py,sha256=4WskpLHbsDEgWW7hXMD09W-brkp4euy8w2ZJ88594rQ,1103
40
40
  fleet/_async/models.py,sha256=-3xv2QyoHsvYcWmdKLf9Z93md8XB17DBeJCxdRCB3bo,13571
41
- fleet/_async/tasks.py,sha256=yuns9wA874vBUEJv2iYy6szpkL5ba71HtnlXKEUVTpM,20406
41
+ fleet/_async/tasks.py,sha256=rlY6SmWl3ZABXe5-ky63wfwYETd2K-Na_m7g5KI1GoI,20602
42
42
  fleet/_async/env/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
43
43
  fleet/_async/env/client.py,sha256=FqetvDlABeHLaAc8UF_m_2OFEhXy4ZqH7ly_Nh8p3uA,3479
44
44
  fleet/_async/instance/__init__.py,sha256=PtmJq8J8bh0SOQ2V55QURz5GJfobozwtQoqhaOk3_tI,515
45
45
  fleet/_async/instance/base.py,sha256=3qUBuUR8OVS36LzdP6KyZzngtwPKYO09HoY6Ekxp-KA,1625
46
- fleet/_async/instance/client.py,sha256=Nrnoez4J3UnbSJoOfDw8vwb00p_A5RNOy9ROwUE4B_4,6838
46
+ fleet/_async/instance/client.py,sha256=aV0g50fGuOUhOar50cTM40cKKzIRnvhWEodSJvZAya4,6825
47
47
  fleet/_async/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
48
48
  fleet/_async/resources/base.py,sha256=UfrenxUqcpL8SgYGOo8o8HgRvv2-ZO5G2Cdo91ofEdg,664
49
49
  fleet/_async/resources/browser.py,sha256=oldoSiymJ1lJkADhpUG81ViOBDNyppX1jSoEwe9-W94,1369
@@ -56,7 +56,7 @@ fleet/env/__init__.py,sha256=BVPZ4AYTznL6AYNrVmjr1yLF16qBcT1U56jWwF7AJ5o,964
56
56
  fleet/env/client.py,sha256=N9oF2hGSNmfVacTnyQhIEocoN3BA5fMa-arbpVeNi-E,3221
57
57
  fleet/instance/__init__.py,sha256=CyWUkbGAK-DBPw4DC4AnCW-MqqheGhZMA5QSRVu-ws4,479
58
58
  fleet/instance/base.py,sha256=OYqzBwZFfTX9wlBGSG5gljqj98NbiJeKIfFJ3uj5I4s,1587
59
- fleet/instance/client.py,sha256=MUUkMV5i0-DPK8awBpRYfc3wy8kVq7IGQ_Re7td1e60,6639
59
+ fleet/instance/client.py,sha256=nv7oZdITN0sdYh0jwOLI0lOv5YCR5NTXmmYW-bt2Pfk,6626
60
60
  fleet/instance/models.py,sha256=ZTiue0YOuhuwX8jYfJAoCzGfqjLqqXRLqK1LVFhq6rQ,4183
61
61
  fleet/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
62
  fleet/resources/base.py,sha256=AXZzT0_yWHkT497q3yekfr0xsD4cPGMCC6y7C43TIkk,663
@@ -71,7 +71,7 @@ fleet/verifiers/decorator.py,sha256=RuTjjDijbicNfMSjA7HcTpKueEki5dzNOdTuHS7UoZs,
71
71
  fleet/verifiers/parse.py,sha256=qz9AfJrTbjlg-LU-lE8Ciqi7Yt2a8-cs17FdpjTLhMk,8550
72
72
  fleet/verifiers/sql_differ.py,sha256=TqTLWyK3uOyLbitT6HYzYEzuSFC39wcyhgk3rcm__k8,6525
73
73
  fleet/verifiers/verifier.py,sha256=iqGevW7dSd0J5RdRQjpu-zioy_FYAXnzMfkuB3-QmO0,14601
74
- fleet_python-0.2.73.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
74
+ fleet_python-0.2.74.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
75
75
  scripts/fix_sync_imports.py,sha256=X9fWLTpiPGkSHsjyQUDepOJkxOqw1DPj7nd8wFlFqLQ,8368
76
76
  scripts/unasync.py,sha256=vWVQxRWX8SRZO5cmzEhpvnG_REhCWXpidIGIpWmEcvI,696
77
77
  tests/__init__.py,sha256=Re1SdyxH8NfyL1kjhi7SQkGP1mYeWB-D6UALqdIMd8I,35
@@ -80,7 +80,7 @@ tests/test_instance_dispatch.py,sha256=CvU4C3LBIqsYZdEsEFfontGjyxAZfVYyXnGwxyIvX
80
80
  tests/test_sqlite_resource_dual_mode.py,sha256=Mh8jBd-xsIGDYFsOACKKK_5DXMUYlFFS7W-jaY6AjG4,8734
81
81
  tests/test_sqlite_shared_memory_behavior.py,sha256=fKx_1BmLS3b8x-9pMgjMycpnaHWY8P-2ZuXEspx6Sbw,4082
82
82
  tests/test_verifier_from_string.py,sha256=Lxi3TpFHFb-hG4-UhLKZJkqo84ax9YJY8G6beO-1erM,13581
83
- fleet_python-0.2.73.dist-info/METADATA,sha256=n9YCaiF3pd1HdNwRxOvBhsLb6PA4DrPy8g1U7Al85d4,3304
84
- fleet_python-0.2.73.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
85
- fleet_python-0.2.73.dist-info/top_level.txt,sha256=qb1zIbtEktyhRFZdqVytwg54l64qtoZL0wjHB4bUg3c,29
86
- fleet_python-0.2.73.dist-info/RECORD,,
83
+ fleet_python-0.2.74.dist-info/METADATA,sha256=Vatitg2oNR5ldHpQcl_fEpXdbdJOFFTfTmLDhUQYUZ0,3304
84
+ fleet_python-0.2.74.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
85
+ fleet_python-0.2.74.dist-info/top_level.txt,sha256=qb1zIbtEktyhRFZdqVytwg54l64qtoZL0wjHB4bUg3c,29
86
+ fleet_python-0.2.74.dist-info/RECORD,,