thds.atacama 1.2.20260918214400
“A Marshmallow schema generator for `attrs` classes. Inspired by `desert`.”
Declares Markdown package descriptionDeclares Python runtime dependencies
SHA-25604a6318808bf17780a7aab51609bf3d38816261ab93b2716f36ae1b19bf61e17
MaleculeH₂(Cm₂Os)Md(Pa)
Evidence
1:18… ght Desert contributors - see LICENSE_desert.md
2import collections
3import typing as ty
4
5import typing_inspect
6
7NoneType = type(None)
⋯7 lines
55:14… return union_handler(arguments)
56
57 newtype_supertype = getattr(typ, "__supertype__", None)
58 if newtype_supertype and typing_inspect.is_new_type(typ):
59 # this is just an unwrapping step.
60 return newtype_handler(newtype_supertype)
61
62 retu …
1"""Support custom fields that seem necessary to us."""
2
3import typing as ty
4
5import marshmallow as ma
6
7
8class Set(ma.fields.List):
9 """Marshmallow is dragging their feet on implementing a Set Field.
10
11 https://github.com/marshmallow-code/marshmallow/issues/1549
12
13 But we can implement a simple version that basically works.
14 """
15
16 def _seri …
1Metadata-Version: 2.4
2Name: thds.atacama
3Version: 1.2.20260918214400
4Summary: A Marshmallow schema generator for `attrs` classes. Inspired by `desert`.
5Author-email: Trilliant Health <[email protected]>
6License: MIT
7Project-URL: Repository, https://github.com/TrilliantHealth/trilliant-data-science
8Requires-Python: >=3.10
9Description-Content-Type: text/markdown
10Requires-Dist: attrs>=22.2.0
11Requires-Dist: marshmallow>=3.1
12Requires-Dist: marshmallow-enum
13Requires-Dist: marshmallow-union
14Requires-Dist: thds-core
15Requi …
98:74… cursive schemas
99 # the same way Marshmallow itself does:
100 # https://marshmallow.readthedocs.io/en/stable/nesting.html#nesting-a-schema-within-itself
101 #
102 # One disadvantage is that we …
Showing the top 5 files — 1 more file (14 regions) not shown.
No evidence locations were recorded for this file. Raw result