kevinjqliu commented on code in PR #1385:
URL: https://github.com/apache/iceberg-python/pull/1385#discussion_r1889038870


##########
pyiceberg/table/snapshots.py:
##########
@@ -239,9 +239,7 @@ class Snapshot(IcebergBaseModel):
     parent_snapshot_id: Optional[int] = Field(alias="parent-snapshot-id", 
default=None)
     sequence_number: Optional[int] = Field(alias="sequence-number", 
default=INITIAL_SEQUENCE_NUMBER)
     timestamp_ms: int = Field(alias="timestamp-ms", default_factory=lambda: 
int(time.time() * 1000))
-    manifest_list: Optional[str] = Field(
-        alias="manifest-list", description="Location of the snapshot's 
manifest list file", default=None
-    )
+    manifest_list: str = Field(alias="manifest-list", description="Location of 
the snapshot's manifest list file", default=None)

Review Comment:
   nit: is `default=None` still needed here? 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to