thds.mops 3.8.20250618235515__py3-none-any.whl → 3.8.20250619170703__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 thds.mops might be problematic. Click here for more details.

@@ -1,7 +1,6 @@
1
1
  """Utilities built around pickle for the purpose of transferring large amounts of on-disk
2
2
  data and also functions."""
3
3
 
4
- import inspect
5
4
  import io
6
5
  import os
7
6
  import pickle
@@ -11,7 +10,7 @@ from functools import partial
11
10
  # so we can pickle and re-raise exceptions with remote tracebacks
12
11
  from tblib import pickling_support # type: ignore
13
12
 
14
- from thds.core import hashing, log, source
13
+ from thds.core import hashing, inspect, log, source
15
14
 
16
15
  from ..core import memo, metadata
17
16
  from ..core.source import prepare_source_argument, prepare_source_result
@@ -131,8 +130,7 @@ def freeze_args_kwargs(dumper: Dumper, f: ty.Callable, args: Args, kwargs: Kwarg
131
130
 
132
131
  Also binds default arguments, for maximum determinism/explicitness.
133
132
  """
134
- bound_arguments = inspect.signature(f).bind(*args, **kwargs)
135
- bound_arguments.apply_defaults()
133
+ bound_arguments = inspect.bind_arguments(f, *args, **kwargs)
136
134
  return gimme_bytes(dumper, (bound_arguments.args, bound_arguments.kwargs))
137
135
 
138
136
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: thds.mops
3
- Version: 3.8.20250618235515
3
+ Version: 3.8.20250619170703
4
4
  Summary: ML Ops tools for Trilliant Health
5
5
  Author-email: Trilliant Health <info@trillianthealth.com>
6
6
  Project-URL: Repository, https://github.com/TrilliantHealth/ds-monorepo
@@ -81,7 +81,7 @@ thds/mops/pure/joblib/__init__.py,sha256=-3hSs-GsNzE_eNnwrdZBHAR_eaub5Uyl5GPYqBw
81
81
  thds/mops/pure/joblib/backend.py,sha256=F__6lrdc1-VcX4n4Pw7Lz1bBgeefShtRy2DQh6Fp-eI,2671
82
82
  thds/mops/pure/joblib/batching.py,sha256=tPOATD28-YW7KcWa3IqKm-fhLaILzM792ApvU-_zfnM,2298
83
83
  thds/mops/pure/pickling/__init__.py,sha256=WNdG8PdJCk-kYaXkvvPa--hjYGoUlBXG3w2X86yuhGo,156
84
- thds/mops/pure/pickling/_pickle.py,sha256=Q4dd683OPsdb_4oQRDWJ9F8mN_jKIXxgySCikAABVTE,9043
84
+ thds/mops/pure/pickling/_pickle.py,sha256=kZc70_yvEAmIsTjOJuwW8ZpExTL7icAWgGskZF5GSfI,9000
85
85
  thds/mops/pure/pickling/memoize_only.py,sha256=oI5CMy6IEJc46Gb_BGWNUuAe3fysS7HxRSTajN0WssI,837
86
86
  thds/mops/pure/pickling/mprunner.py,sha256=dVbwQA8hzEL7UiwYXmzoGwN3_jbEtGoHDPMkRmo_UtA,8378
87
87
  thds/mops/pure/pickling/pickles.py,sha256=nCg7L7CqReNWDF8FAdEmCcuXVC_kLT5zuyW3V8Vvvs4,4704
@@ -104,8 +104,8 @@ thds/mops/pure/tools/summarize/cli.py,sha256=7kDtn24ok8oBO3jFjlMmOK3jnZYpMoE_5Y8
104
104
  thds/mops/pure/tools/summarize/run_summary.py,sha256=LUtvbankAYbss2NCF_XbNl05jkNgxYz_SLyERJlp4sk,5773
105
105
  thds/mops/testing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
106
106
  thds/mops/testing/deferred_imports.py,sha256=f0ezCgQAtzTqW1yAOb0OWgsB9ZrlztLB894LtpWDaVw,3780
107
- thds_mops-3.8.20250618235515.dist-info/METADATA,sha256=8lzSPg5VDr3TceTBsjijge_3mUif-kqaW4bHQKCDDng,2225
108
- thds_mops-3.8.20250618235515.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
109
- thds_mops-3.8.20250618235515.dist-info/entry_points.txt,sha256=qKvCAaB80syXfxVR3xx6x9J0YJdaQWkIbVSw-NwFgMw,322
110
- thds_mops-3.8.20250618235515.dist-info/top_level.txt,sha256=LTZaE5SkWJwv9bwOlMbIhiS-JWQEEIcjVYnJrt-CriY,5
111
- thds_mops-3.8.20250618235515.dist-info/RECORD,,
107
+ thds_mops-3.8.20250619170703.dist-info/METADATA,sha256=BHBYlVRHNXnIL_SRFUgTs3BNWvrViN6LBa-jrQL0TFQ,2225
108
+ thds_mops-3.8.20250619170703.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
109
+ thds_mops-3.8.20250619170703.dist-info/entry_points.txt,sha256=qKvCAaB80syXfxVR3xx6x9J0YJdaQWkIbVSw-NwFgMw,322
110
+ thds_mops-3.8.20250619170703.dist-info/top_level.txt,sha256=LTZaE5SkWJwv9bwOlMbIhiS-JWQEEIcjVYnJrt-CriY,5
111
+ thds_mops-3.8.20250619170703.dist-info/RECORD,,