thds.mops 3.8.20250619170703__py3-none-any.whl → 3.8.20250619225020__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,6 +1,7 @@
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
4
5
  import io
5
6
  import os
6
7
  import pickle
@@ -10,7 +11,7 @@ from functools import partial
10
11
  # so we can pickle and re-raise exceptions with remote tracebacks
11
12
  from tblib import pickling_support # type: ignore
12
13
 
13
- from thds.core import hashing, inspect, log, source
14
+ from thds.core import hashing, log, source
14
15
 
15
16
  from ..core import memo, metadata
16
17
  from ..core.source import prepare_source_argument, prepare_source_result
@@ -130,7 +131,8 @@ def freeze_args_kwargs(dumper: Dumper, f: ty.Callable, args: Args, kwargs: Kwarg
130
131
 
131
132
  Also binds default arguments, for maximum determinism/explicitness.
132
133
  """
133
- bound_arguments = inspect.bind_arguments(f, *args, **kwargs)
134
+ bound_arguments = inspect.signature(f).bind(*args, **kwargs)
135
+ bound_arguments.apply_defaults()
134
136
  return gimme_bytes(dumper, (bound_arguments.args, bound_arguments.kwargs))
135
137
 
136
138
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: thds.mops
3
- Version: 3.8.20250619170703
3
+ Version: 3.8.20250619225020
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=kZc70_yvEAmIsTjOJuwW8ZpExTL7icAWgGskZF5GSfI,9000
84
+ thds/mops/pure/pickling/_pickle.py,sha256=Q4dd683OPsdb_4oQRDWJ9F8mN_jKIXxgySCikAABVTE,9043
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.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,,
107
+ thds_mops-3.8.20250619225020.dist-info/METADATA,sha256=Pgl3RAy57_vcfkUfbw1GDh01VIFeSpUYwsci5P3vkek,2225
108
+ thds_mops-3.8.20250619225020.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
109
+ thds_mops-3.8.20250619225020.dist-info/entry_points.txt,sha256=qKvCAaB80syXfxVR3xx6x9J0YJdaQWkIbVSw-NwFgMw,322
110
+ thds_mops-3.8.20250619225020.dist-info/top_level.txt,sha256=LTZaE5SkWJwv9bwOlMbIhiS-JWQEEIcjVYnJrt-CriY,5
111
+ thds_mops-3.8.20250619225020.dist-info/RECORD,,