app-store-server-library-python icon indicating copy to clipboard operation
app-store-server-library-python copied to clipboard

refactor library utility more pythonic

Open Reskov opened this issue 9 months ago • 2 comments

  • use .get instead of in and [] preventing extra dictionary lookup
  • use f-strings (since we support only 3.8+) reduce string concatenation overhead
  • use walrus operator (3.8+) remove extra getattr access in case raw_field found

Reskov avatar Mar 24 '25 08:03 Reskov