Skip to content

Commit

Permalink
test fixing failed test
Browse files Browse the repository at this point in the history
  • Loading branch information
Coniferish committed Apr 19, 2024
1 parent 6ec7a58 commit 840e231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unstructured/ingest/enhanced_dataclass/dataclasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __repr__(self):
f"overload_name={self.overload_name!r}",
f"_field_type={self._field_type}",
]
if kw_only := getattr(self, "kw_only"):
if kw_only := getattr(self, "kw_only", None):
fields_array.append(f"kw_only={kw_only!r}")
return "Field({})".format(",".join(fields_array))

Expand Down

0 comments on commit 840e231

Please sign in to comment.