Skip to content

Commit 42fe69a

Browse files
committed
allow bookmark_properties to be None
1 parent 7db81df commit 42fe69a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

singer/messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def write_schema(stream_name, schema, key_properties, bookmark_properties=None,
238238

239239
if isinstance(bookmark_properties, (str, bytes)):
240240
bookmark_properties = [bookmark_properties]
241-
if not isinstance(bookmark_properties, list):
241+
if bookmark_properties and not isinstance(bookmark_properties, list):
242242
raise Exception("bookmark_properties must be a string or list of strings")
243243

244244
write_message(

0 commit comments

Comments
 (0)