Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def create(value: str) -> "EntryValue":
if any(c not in PRINTABLE for c in value):
raise ValueError("Invalid EntryValue", value)
return typing.cast(EntryValue, value)