minor code fix: remove duplicate type check branch

pull/22536/head
neatguycoding 10 months ago
parent e4ae1e2b94
commit 7068fae9d4
No known key found for this signature in database
GPG Key ID: 986432EB84C921B3

@ -91,8 +91,6 @@ class SegmentType(StrEnum):
return SegmentType.OBJECT
elif isinstance(value, File):
return SegmentType.FILE
elif isinstance(value, str):
return SegmentType.STRING
else:
return None

Loading…
Cancel
Save