We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31999bb commit 7a3446eCopy full SHA for 7a3446e
chex/_src/dataclass.py
@@ -282,7 +282,7 @@ def _flatten_with_path(dcls):
282
# Store the static keys separately.
283
if (dcls.static_keynames is not None and
284
k.name in dcls.static_keynames):
285
- static_keynames.append(k)
+ static_keynames.append(k.name)
286
static_keyvals.append(v)
287
else:
288
path.append((k, v))
0 commit comments