opengradient 0.4.9__py3-none-any.whl → 0.4.11__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.
opengradient/client.py CHANGED
@@ -3,7 +3,7 @@ import logging
3
3
  import os
4
4
  import time
5
5
  from pathlib import Path
6
- from typing import Any, Dict, List, Optional, Union
6
+ from typing import Any, Dict, List, Optional, Union, Callable
7
7
 
8
8
  import firebase
9
9
  import numpy as np
@@ -963,7 +963,7 @@ class Client:
963
963
  return [convert_array_to_model_output(result) for result in results]
964
964
 
965
965
 
966
- def run_with_retry(txn_function, max_retries=DEFAULT_MAX_RETRY, retry_delay=DEFAULT_RETRY_DELAY_SEC):
966
+ def run_with_retry(txn_function: Callable, max_retries=DEFAULT_MAX_RETRY, retry_delay=DEFAULT_RETRY_DELAY_SEC):
967
967
  """
968
968
  Execute a blockchain transaction with retry logic.
969
969
 
opengradient/defaults.py CHANGED
@@ -1,5 +1,5 @@
1
1
  # Default variables
2
- DEFAULT_RPC_URL = "http://18.188.176.119:8545"
2
+ DEFAULT_RPC_URL = "https://eth-devnet.opengradient.ai"
3
3
  DEFAULT_OG_FAUCET_URL = "https://faucet.opengradient.ai/?address="
4
4
  DEFAULT_HUB_SIGNUP_URL = "https://hub.opengradient.ai/signup"
5
5
  DEFAULT_INFERENCE_CONTRACT_ADDRESS = "0x8383C9bD7462F12Eb996DD02F78234C0421A6FaE"
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: opengradient
3
- Version: 0.4.9
3
+ Version: 0.4.11
4
4
  Summary: Python SDK for OpenGradient decentralized model management & inference services
5
5
  Author-email: OpenGradient <oliver@opengradient.ai>
6
6
  License: MIT License
@@ -45,6 +45,7 @@ Requires-Dist: requests>=2.32.3
45
45
  Requires-Dist: langchain>=0.3.7
46
46
  Requires-Dist: openai>=1.58.1
47
47
  Requires-Dist: pydantic>=2.9.2
48
+ Dynamic: license-file
48
49
 
49
50
  # OpenGradient Python SDK
50
51
 
@@ -1,8 +1,8 @@
1
1
  opengradient/__init__.py,sha256=jNQwQmGa3r8BaPZP01mNwmhOU-16ggqUR4D2U4VrRZw,12422
2
2
  opengradient/account.py,sha256=5wrYpws_1lozjOFjLCTHtxgoxK-LmObDAaVy9eDcJY4,1145
3
3
  opengradient/cli.py,sha256=12fezJJvuceUaPSllsMqrBFoSpd2sTJjMpZ1_Dhzskg,25426
4
- opengradient/client.py,sha256=Dy9H_30WtB-hsRAk42HP4NZznuPIqB_kiyZeS_iBMh8,43971
5
- opengradient/defaults.py,sha256=Dqc64Qv7RdLv7ZBjXzvxRRqBDc1HhyVbbdImpmzyrzU,490
4
+ opengradient/client.py,sha256=eXgWtYlocXh89XwbtxSZlCqffgN-ll_dszwdZxsH634,43991
5
+ opengradient/defaults.py,sha256=ecGPGh2l-33ef2CTDDD_tvSSe_Qf8zYdIOjowjBqZCo,498
6
6
  opengradient/exceptions.py,sha256=88tfegboGtlehQcwhxsl6ZzhLJWZWlkf_bkHTiCtXpo,3391
7
7
  opengradient/types.py,sha256=JH8hjpcq4H7gQki74cuJpH4PcyQpwivLiqn9iq0evrI,5715
8
8
  opengradient/utils.py,sha256=NMXg_mi5cHVeV01O4fFQJCcbwgGuGFbdYNrAG9K2Um0,8337
@@ -26,9 +26,9 @@ opengradient/workflow_models/constants.py,sha256=viIkb_LGcfVprqQNaA80gBTj6cfYam0
26
26
  opengradient/workflow_models/types.py,sha256=Z22hF6c8Y4D2GlzVEIBODGwsqSjSrQvUcpZ7R-mIJdI,409
27
27
  opengradient/workflow_models/utils.py,sha256=ySfpuiOBqLTlfto6ZxZf2vc7K6RGIja0l4eaVm5AOzY,1503
28
28
  opengradient/workflow_models/workflow_models.py,sha256=d4C_gs39DAfy4cdY9Ee6GMXpPfzwvKFpmxzK1A7LNgU,3900
29
- opengradient-0.4.9.dist-info/LICENSE,sha256=xEcvQ3AxZOtDkrqkys2Mm6Y9diEnaSeQRKvxi-JGnNA,1069
30
- opengradient-0.4.9.dist-info/METADATA,sha256=cT5_VHiQRqJkjoWwiAPMy6Rm-TvoNo4250d01Fdl_1U,5214
31
- opengradient-0.4.9.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
32
- opengradient-0.4.9.dist-info/entry_points.txt,sha256=yUKTaJx8RXnybkob0J62wVBiCp_1agVbgw9uzsmaeJc,54
33
- opengradient-0.4.9.dist-info/top_level.txt,sha256=oC1zimVLa2Yi1LQz8c7x-0IQm92milb5ax8gHBHwDqU,13
34
- opengradient-0.4.9.dist-info/RECORD,,
29
+ opengradient-0.4.11.dist-info/licenses/LICENSE,sha256=xEcvQ3AxZOtDkrqkys2Mm6Y9diEnaSeQRKvxi-JGnNA,1069
30
+ opengradient-0.4.11.dist-info/METADATA,sha256=o6x7HxutNOT72WWcuCwBiaEzuYElReEerNinjsVCGSk,5237
31
+ opengradient-0.4.11.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
32
+ opengradient-0.4.11.dist-info/entry_points.txt,sha256=yUKTaJx8RXnybkob0J62wVBiCp_1agVbgw9uzsmaeJc,54
33
+ opengradient-0.4.11.dist-info/top_level.txt,sha256=oC1zimVLa2Yi1LQz8c7x-0IQm92milb5ax8gHBHwDqU,13
34
+ opengradient-0.4.11.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.2)
2
+ Generator: setuptools (77.0.3)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5