You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2022/05/24 01:18:30 UTC

[GitHub] [iceberg] samredai commented on pull request #3677: Python: Adding TableMetadata object from dict, bytestream, and InputFile implementation

samredai commented on PR #3677:
URL: https://github.com/apache/iceberg/pull/3677#issuecomment-1135296204

   Updated this PR to remove all of the jsonschema validation logic (to be revisited later, hopefully using the OpenAPI spec for the REST catalog), and also replaced attrs with the built-in dataclass decorator. The last thing I've done here is move all of the serialization/deserialization logic (initially this PR had them as methods on the `TableMetadata` class) out into a `serialization.py` file that includes `FromDict`, `ToDict`, `FromByteStream`, `FromInputFile`, and `ToInputFile` classes of staticmethods.


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org