criccomini / pymetastore

A Python Client for Hive Metastore
MIT License
9 stars 1 forks source link

Make metastore.py a bit more idiomatic #17

Closed criccomini closed 1 year ago

criccomini commented 1 year ago

I changed a bunch of deep nested branching to use more idiomatic asserts and if/else conditionals.

In some cases, the assertions are slightly more paranoid, and in other cases, slightly less. I think it's OK, though.