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

thds/core/files.py CHANGED
@@ -19,7 +19,7 @@ FILE_SCHEME = "file://"
19
19
  logger = getLogger(__name__)
20
20
 
21
21
 
22
- def set_read_only(fpath: StrOrPath):
22
+ def set_read_only(fpath: StrOrPath) -> None:
23
23
  # thank you https://stackoverflow.com/a/51262451
24
24
  logger.debug("Setting '%s' to read-only", fpath)
25
25
  perms = stat.S_IMODE(os.lstat(fpath).st_mode)
@@ -87,7 +87,7 @@ def set_file_limit(n: int):
87
87
  assert resource.getrlimit(resource.RLIMIT_NOFILE) == (n, n)
88
88
 
89
89
 
90
- def bump_limits():
90
+ def bump_limits() -> None:
91
91
  """It was common to have to do this manually on our macs. Now that is no longer required."""
92
92
  set_file_limit(OPEN_FILES_LIMIT())
93
93
 
thds/core/meta.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
- "git_commit": "301f186cfb6e1ec559f651aa35053ef18d6fb3d4",
2
+ "git_commit": "d1dbeed714e4b8a66fc91ae65b2f721ae3c7211b",
3
3
  "git_branch": "main",
4
4
  "git_is_clean": true,
5
- "pyproject_version": "1.31.20250213030644",
5
+ "pyproject_version": "1.31.20250217180307",
6
6
  "thds_user": "runner",
7
7
  "misc": {}
8
8
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: thds.core
3
- Version: 1.31.20250213030644
3
+ Version: 1.31.20250217180307
4
4
  Summary: Core utilities.
5
5
  Author: Trilliant Health
6
6
  Description-Content-Type: text/markdown
@@ -8,7 +8,7 @@ thds/core/decos.py,sha256=VpFTKTArXepICxN4U8C8J6Z5KDq-yVjFZQzqs2jeVAk,1341
8
8
  thds/core/dict_utils.py,sha256=MAVkGJg4KQN1UGBLEKuPdQucZaXg_jJakujQ-GUrYzw,6471
9
9
  thds/core/env.py,sha256=M36CYkPZ5AUf_-n8EqjsMGwWOzaKEn0KgRwnqUK7jS4,1094
10
10
  thds/core/exit_after.py,sha256=0lz63nz2NTiIdyBDYyRa9bQShxQKe7eISy8VhXeW4HU,3485
11
- thds/core/files.py,sha256=8amNymTRuW17o6Qay73juxwkcW1DysWXeAByeofadkM,4540
11
+ thds/core/files.py,sha256=35vhbaDv4OkL_n1PCM-ki54708aibFMrnURpth_5UsA,4556
12
12
  thds/core/fretry.py,sha256=Tui2q6vXV6c7mjTa1czLrXiugHUEwQp-sZdiwXfxvmM,3829
13
13
  thds/core/generators.py,sha256=rcdFpPj0NMJWSaSZTnBfTeZxTTORNB633Lng-BW1284,1939
14
14
  thds/core/git.py,sha256=I6kaEvwcvVxCLYHhTTfnHle-GkmgOR9_fHs03QxgBfI,2792
@@ -22,7 +22,7 @@ thds/core/iterators.py,sha256=d3iTQDR0gCW1nMRmknQeodR_4THzR9Ajmp8F8KCCFgg,208
22
22
  thds/core/lazy.py,sha256=e1WvG4LsbEydV0igEr_Vl1cq05zlQNIE8MFYT90yglE,3289
23
23
  thds/core/link.py,sha256=kmFJIFvEZc16-7S7IGvtTpzwl3VuvFl3yPlE6WJJ03w,5404
24
24
  thds/core/merge_args.py,sha256=7oj7dtO1-XVkfTM3aBlq3QlZbo8tb6X7E3EVIR-60t8,5781
25
- thds/core/meta.json,sha256=2Hs12bWcuGpIALAw3UcGTmXEf6xi00sFogzUWNy5PBw,196
25
+ thds/core/meta.json,sha256=wESTK6D9ydVwEm98H5y7Y553Yikx_Q5zRn5TD2BZSwE,196
26
26
  thds/core/meta.py,sha256=IPLAKrH06HooPMNf5FeqJvUcM-JljTGXddrAQ5oAX8E,16896
27
27
  thds/core/parallel.py,sha256=HXAn9aIYqNE5rnRN5ypxR6CUucdfzE5T5rJ_MUv-pFk,7590
28
28
  thds/core/pickle_visit.py,sha256=QNMWIi5buvk2zsvx1-D-FKL7tkrFUFDs387vxgGebgU,833
@@ -60,8 +60,8 @@ thds/core/sqlite/structured.py,sha256=swCbDoyVT6cE7Kl79Wh_rg5Z1-yrUDJbiVJF4bjset
60
60
  thds/core/sqlite/types.py,sha256=oUkfoKRYNGDPZRk29s09rc9ha3SCk2SKr_K6WKebBFs,1308
61
61
  thds/core/sqlite/upsert.py,sha256=BmKK6fsGVedt43iY-Lp7dnAu8aJ1e9CYlPVEQR2pMj4,5827
62
62
  thds/core/sqlite/write.py,sha256=z0219vDkQDCnsV0WLvsj94keItr7H4j7Y_evbcoBrWU,3458
63
- thds.core-1.31.20250213030644.dist-info/METADATA,sha256=WT-wr8G4d1YlnzoZq8mDGVTzd1J6TvWAKKUdQ3TeaMY,2123
64
- thds.core-1.31.20250213030644.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
65
- thds.core-1.31.20250213030644.dist-info/entry_points.txt,sha256=bOCOVhKZv7azF3FvaWX6uxE6yrjK6FcjqhtxXvLiFY8,161
66
- thds.core-1.31.20250213030644.dist-info/top_level.txt,sha256=LTZaE5SkWJwv9bwOlMbIhiS-JWQEEIcjVYnJrt-CriY,5
67
- thds.core-1.31.20250213030644.dist-info/RECORD,,
63
+ thds.core-1.31.20250217180307.dist-info/METADATA,sha256=yJh8Hmgw4J2WUXdaqrAMmaWm8YNmA_2aUANJHdV0C2A,2123
64
+ thds.core-1.31.20250217180307.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
65
+ thds.core-1.31.20250217180307.dist-info/entry_points.txt,sha256=bOCOVhKZv7azF3FvaWX6uxE6yrjK6FcjqhtxXvLiFY8,161
66
+ thds.core-1.31.20250217180307.dist-info/top_level.txt,sha256=LTZaE5SkWJwv9bwOlMbIhiS-JWQEEIcjVYnJrt-CriY,5
67
+ thds.core-1.31.20250217180307.dist-info/RECORD,,