prediction-market-agent-tooling 0.56.2.dev136__py3-none-any.whl → 0.56.2.dev137__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.
@@ -2,7 +2,7 @@ import hashlib
2
2
  import inspect
3
3
  import json
4
4
  from datetime import date, timedelta
5
- from functools import wraps
5
+ from functools import partial, wraps
6
6
  from typing import (
7
7
  Any,
8
8
  Callable,
@@ -92,7 +92,8 @@ def db_cache(
92
92
 
93
93
  api_keys = api_keys if api_keys is not None else APIKeys()
94
94
  wrapped_engine = InitialiseNonPickable(
95
- lambda: create_engine(
95
+ partial(
96
+ create_engine,
96
97
  api_keys.sqlalchemy_db_url.get_secret_value(),
97
98
  # Use custom json serializer and deserializer, because otherwise, for example `datetime` serialization would fail.
98
99
  json_serializer=json_serializer,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: prediction-market-agent-tooling
3
- Version: 0.56.2.dev136
3
+ Version: 0.56.2.dev137
4
4
  Summary: Tools to benchmark, deploy and monitor prediction market agents.
5
5
  Author: Gnosis
6
6
  Requires-Python: >=3.10,<3.12
@@ -71,7 +71,7 @@ prediction_market_agent_tooling/tools/betting_strategies/market_moving.py,sha256
71
71
  prediction_market_agent_tooling/tools/betting_strategies/minimum_bet_to_win.py,sha256=-FUSuQQgjcWSSnoFxnlAyTeilY6raJABJVM2QKkFqAY,438
72
72
  prediction_market_agent_tooling/tools/betting_strategies/stretch_bet_between.py,sha256=THMXwFlskvzbjnX_OiYtDSzI8XVFyULWfP2525_9UGc,429
73
73
  prediction_market_agent_tooling/tools/betting_strategies/utils.py,sha256=kpIb-ci67Vc1Yqqaa-_S4OUkbhWSIYog4_Iwp69HU_k,97
74
- prediction_market_agent_tooling/tools/caches/db_cache.py,sha256=x3v-ZnMpnSzmdwnzubh9oQ7ebExONXjWSFqY48CYQwc,12847
74
+ prediction_market_agent_tooling/tools/caches/db_cache.py,sha256=vKxNnAPm8zZBGRVPyNKiWaGvQxJx44RdZQ3CiWVDtoQ,12869
75
75
  prediction_market_agent_tooling/tools/caches/inmemory_cache.py,sha256=tGHHd9HCiE_hCCtPtloHZQdDfBuiow9YsqJNYi2Tx_0,499
76
76
  prediction_market_agent_tooling/tools/contract.py,sha256=s3yo8IbXTcvAJcPfLM0_NbgaEsWwLsPmyVnOgyjq_xI,20919
77
77
  prediction_market_agent_tooling/tools/costs.py,sha256=EaAJ7v9laD4VEV3d8B44M4u3_oEO_H16jRVCdoZ93Uw,954
@@ -100,8 +100,8 @@ prediction_market_agent_tooling/tools/tavily/tavily_models.py,sha256=5ldQs1pZe6u
100
100
  prediction_market_agent_tooling/tools/tavily/tavily_search.py,sha256=Kw2mXNkMTYTEe1MBSTqhQmLoeXtgb6CkmHlcAJvhtqE,3809
101
101
  prediction_market_agent_tooling/tools/utils.py,sha256=1VvunbTmzGzpIlRukFhArreFNxJPbsg4lLtQNk0r2bY,7185
102
102
  prediction_market_agent_tooling/tools/web3_utils.py,sha256=44W8siSLNQxeib98bbwAe7V5C609NHNlUuxwuWIRDiY,11838
103
- prediction_market_agent_tooling-0.56.2.dev136.dist-info/LICENSE,sha256=6or154nLLU6bELzjh0mCreFjt0m2v72zLi3yHE0QbeE,7650
104
- prediction_market_agent_tooling-0.56.2.dev136.dist-info/METADATA,sha256=vtNRo-GxixSshRSkmcyqEtshchlB4-rwVWS2mDrNiA4,8113
105
- prediction_market_agent_tooling-0.56.2.dev136.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
106
- prediction_market_agent_tooling-0.56.2.dev136.dist-info/entry_points.txt,sha256=m8PukHbeH5g0IAAmOf_1Ahm-sGAMdhSSRQmwtpmi2s8,81
107
- prediction_market_agent_tooling-0.56.2.dev136.dist-info/RECORD,,
103
+ prediction_market_agent_tooling-0.56.2.dev137.dist-info/LICENSE,sha256=6or154nLLU6bELzjh0mCreFjt0m2v72zLi3yHE0QbeE,7650
104
+ prediction_market_agent_tooling-0.56.2.dev137.dist-info/METADATA,sha256=wmx1u8Ys3t_JqAl_9TYjNAR3NWxLYJhqqwBXF539yTY,8113
105
+ prediction_market_agent_tooling-0.56.2.dev137.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
106
+ prediction_market_agent_tooling-0.56.2.dev137.dist-info/entry_points.txt,sha256=m8PukHbeH5g0IAAmOf_1Ahm-sGAMdhSSRQmwtpmi2s8,81
107
+ prediction_market_agent_tooling-0.56.2.dev137.dist-info/RECORD,,